Archived

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

Disabling window resizing?

This topic is 5552 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

Anyone know how to keep the user from resizing or maximizing a Win32 window? It seems like it ought to be a trivial thing, but I can''t find anything about it in the MSDN docs, and google hasn''t turned up anything, so I thought I''d ask you fine folks.

Share this post


Link to post
Share on other sites
How are you creating the window? Look up CreateWindow(Ex).
You need to specify how you want the basic window to work by setting the appropriate styles.
For example:
WS_BORDER | WS_CAPTION | WS_SYSMENU | WS_MINIMIZEBOX


pan narrans
Study + Hard Work + Loud Profanity = Good Code

Share this post


Link to post
Share on other sites