Friday, 15 January 2010

c++ - How to prevent window resizing temporarily? -


I have a window that can be resized, but in some cases it is not possible to resize due to application state. is. Is there a way to stop the window resizing temporarily?

I want to disable resizing of all methods available to users, including the window menu, by dragging the edges through a mouse, the user started the window tiling introduced by the OS - and perhaps I do not know anyone else?

One way to get GWL_STYLE flag window style and
Reset / remove any of your needs, that is, WS_THICKFRAME style so that the window can not be resized. New style with

you


No comments:

Post a Comment