Does anyone know the WM_MESSAGE that is sent when a window has been maximized (either by the maximize button being pressed in the title bar, or by double clicking the title bar?)
Is there a windows message for the maximize button being pressed?
Win32/C++, thanks.
You get the WM_SIZE message with the value SIZE_MAXIMIZED in wParam
Edit
The @jamesdlin comment bellow called my atention to WM_WINDOWPOSCHANGED documentation, which states (emphasis mine):
Thanks james!