The WM_SIZE message is sent to a window after its size has changed.
WM_SIZE fwSizeType = wParam; // resizing flag nWidth = LOWORD(lParam); // width of client area nHeight = HIWORD(lParam); // height of client area
Value |
Meaning |
SIZE_MAXHIDE |
Message is sent to all pop-up windows when some other window is maximized. |
SIZE_MAXIMIZED |
Window has been maximized. |
SIZE_MAXSHOW |
Message is sent to all pop-up windows when some other window has been restored to its former size. |
SIZE_MINIMIZED |
Window has been minimized. |
SIZE_RESTORED |
Window has been resized, but neither the SIZE_MINIMIZED nor SIZE_MAXIMIZED value applies. |
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 bRedraw parameter should be nonzero to cause the window to be repainted.
Although the width and height of a window are 32-bit values, the nWidth and nHeight parameters of the WM_SIZE message contain only the low-order 16 bits.
file: /Techref/os/win/api/win32/mess/src/msg28_1.htm, 3KB, , updated: 2000/4/7 11:20, local time: 2024/11/4 15:22,
18.191.212.95:LOG IN ©2024 PLEASE DON'T RIP! THIS SITE CLOSES OCT 28, 2024 SO LONG AND THANKS FOR ALL THE FISH!
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://massmind.org/techref/os/win/api/win32/mess/src/msg28_1.htm"> WM_SIZE</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Welcome to massmind.org! |
.