Not to try and over-simplify things I don't know, but why not just make the window not resizable? Then you don't have to worry about them resizing it in the first place.
What is the shortest way to make the window non-resizable?
The function I found takes about 3 pages long that is why I thought about that kind of a cheater way to resize the window back when the user tried to change the size.
You should be able to just set the appropriate Style flag while creating it. If it's a dialog box that you built in the designer, should be easy to change in the properties dialog. If you built it manually, then check out the styles that does what you want, maybe WS_DLGFRAME (double border but no title)will work.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.