Archived

This topic is now archived and is closed to further replies.

Win32 window question?

This topic is 5152 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

In your CreateWindow call use the WS_THICKFRAME or WS_SIZEBOX styles in the ''DWORD dwStyle'' parameter. Tell me if you need more explanation.

Share this post


Link to post
Share on other sites
I had been using WS_OVERLAPPEDWINDOW | WS_VISIBLE, I added the styles you suggested in various combinations and just one or the other, but every time I could still resize the window, any other thoughts?

Share this post


Link to post
Share on other sites
I think Rayno read your question as "How would I make a win32 window that CAN be resized"

to make a window that can''t be resized, make sure that you don''t specify the WS_THICKFRAME flag. Something like (WS_OVERLAPPEDWINDOW &~ WS_THICKFRAME) would work.

Share this post


Link to post
Share on other sites
quote:
Original post by Melekor
I think Rayno read your question as "How would I make a win32 window that CAN be resized"




Whoops. My mistake. Sorry JIMbond21.

Share this post


Link to post
Share on other sites