msgs12.hlp (Topic list)
WM_CREATE (1.2)
                                                      Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_WINMESSAGEMGR
 
WM_CREATE
pCtlData = (PVOID) PVOIDFROMMP(mp1);       /* pointer to class data */
pcrst = (PCREATESTRUCT) PVOIDFROMMP(mp2);  /* pointer to structure  */
 
The WM_CREATE message is sent when an application requests that a window be
created. The window procedure for the new window receives this message after
the window is created but before the window becomes visible.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
pCtlData   Low and high word of mp1. Points to the buffer that has
           class-specific information. This data is passed to the
           WinCreateWindow function as a parameter.
 
pcrst      Low and high word of mp2. Points to a CREATESTRUCT structure.
 
Return Value
 
An application should return FALSE if the system should continue creating
the window or TRUE if it should not.
 
See Also
 
WinCreateWindow, WM_INITDLG, WM_SIZE, CREATESTRUCT