The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
A version of this page is also available for
This message is sent to a window whose size, position, or place in the z-order has changed as a result of a call to the
SetWindowPos function or another window-management function.
WM_WINDOWPOSCHANGED lpwp = (LPWINDOWPOS) lParam;
Long pointer to a
WINDOWPOS structure that contains information about the window's new size and position.
An application should return zero if it processes this message.
DefWindowProc function sends the WM_SIZE and WM_MOVE messages to the window.
The WM_SIZE and WM_MOVE messages are not sent if an application handles the WM_WINDOWPOSCHANGED message without calling
DefWindowProc. It is more efficient to perform any move or size change processing during the WM_WINDOWPOSCHANGED message without calling DefWindowProc.
Header winuser.h Windows Embedded CE Windows CE 1.0 and later Windows Mobile Windows Mobile Version 5.0 and later