Microsoft Windows CE 3.0  

WM_CREATE

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 when an application requests that a window be created by calling the CreateWindowExor CreateWindowfunction. The window procedure of the new window receives this message after the window is created, but before the window becomes visible. The message is sent before the CreateWindowExor CreateWindowfunction returns.

WM_CREATE
lpcs= 
(LPCREATESTRUCT)
lParam;

Parameters

lpcs
Pointer to a CREATESTRUCTstructure that contains information about the window being created. The members of CREATESTRUCTare identical to the Parameters of the CreateWindowExfunction.

Return Values

If an application processes this message, it should return 0 to continue creation of the window. If the application returns –1, the window is destroyed and the CreateWindowExor CreateWindowfunction returns a NULL handle.

Remarks

Some members of the CREATESTRUCTstructure to which the lpcspoints are restricted. See the CreateWindowfunction for details.

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

CreateWindow, CreateWindowEx, CREATESTRUCT