Saturday, May 22, 2010

How do I stop a windows from resizing and being maximized in c++ using the windows api?

If its a dialog box window you can set it up in the properties. If you're using CreateWindow to create it you specify the WindowStyle. The Default is WS_OVERLAPPEDWINDOW which has sizing and maximize boxes built in See the the link below for window styles.


No comments:

Post a Comment