Microsoft Windows CE 3.0  

WM_WINDOWPOSCHANGED

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

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 SetWindowPosfunction or another window-management function.

WM_WINDOWPOSCHANGED
lpwp= 
(LPWINDOWPOS)
lParam;

Parameters

lpwp
Long pointer to a WINDOWPOSstructure that contains information about the window's new size and position.

Return Values

An application should return zero if it processes this message.

Default Action

The DefWindowProcfunction sends the WM_SIZE and WM_MOVE messages to the window.

Remarks

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.

Requirements

Runs on Versions Defined in Include Link to
Windows CE OS 1.0 and later Winuser.h    
Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

See Also

DefWindowProc, SetWindowPos, WINDOWPOS, WM_MOVE, WM_SIZE