Sent to a window after its size has changed.
A window receives this message through its WindowProc function.
The type of resizing requested. This parameter can be one of the following values.
Message is sent to all pop-up windows when some other window is maximized.
The window has been maximized.
Message is sent to all pop-up windows when some other window has been restored to its former size.
The window has been minimized.
The window has been resized, but neither the SIZE_MINIMIZED nor SIZE_MAXIMIZED value applies.
The low-order word of
lParam specifies the new width of the client area.
The high-order word of
lParam specifies the new height of the client area.
If an application processes this message, it should return zero.
If the SetScrollPos or MoveWindow function is called for a child window as a result of the WM_SIZE message, the
bRepaint parameter should be nonzero to cause the window to be repainted.
Although the width and height of a window are 32-bit values, the
lParam parameter contains only the low-order 16 bits of each.
Minimum supported client
|Windows 2000 Professional [desktop apps only]|
Minimum supported server
|Windows 2000 Server [desktop apps only]|
- Winuser.h (include Windows.h)
- Other Resources
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback