Windows 7 Snap - Windows Message?

In my window shape application, I want to capture a Windows 7 shutdown message, does anyone know which message is generated when the window is closed.

I tried to listen to the application and looked like WM_GETMINMAXINFO = 0x24; generated.

Can someone confirm if this Windows message is for binding?

+3
source share
1 answer

WM_GETMINMAXINFO is called to determine the minimum size and maximum window size that it calls during SNAP so that it does not resize the window outside its actual circled size, so if you have an application of size 500 and that has a constant height, you do not want windows Changed it in height to match the height of the screen.

Then it should call the SetWindowPlacement function.

+1
source

Source: https://habr.com/ru/post/1760927/


All Articles