Prev Next

WM_NCCREATE Overview  Group

The WM_NCCREATE message is sent prior to the WM_CREATE message when a window is first created.

WM_NCCREATE 

lpcs = (LPCREATESTRUCT) lParam;  // structure with creation data 

 

Parameters

lpcs
Value of lParam. Points to the CREATESTRUCT structure that contains information about the window being created. The members of CREATESTRUCT are identical to the parameters of the CreateWindowEx function. .

Return Values

If an application processes this message, it should return TRUE to continue creation of the window. If the application returns FALSE, the CreateWindow or CreateWindowEx function will return a NULL handle.

See Also

CreateWindow, CreateWindowEx, DefWindowProc, CREATESTRUCT, WM_CREATE