Sign in to follow this  
Sync Views

more window problems

Recommended Posts

SiCrane    11839
There are a lot of different ways. Two options are processing the WM_SIZING window message or creating your window without a border and the maximize/minimize button window styles.

Share this post


Link to post
Share on other sites
Sync Views    139
I tried processing the WM_SIZEING message so that it didn't get default processed but the window can still be resized :(

I'm not sure what you mean by the minimise/maximise buttons? I'm assuming it's something I add to the window create?


hwnd = CreateWindowEx(
NULL,
"window",
caption.c_str(),
WS_OVERLAPPEDWINDOW | WS_VISIBLE,//here?
0, 0,
window_width, window_height,
NULL,
NULL,
hInstance,
NULL);

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this