This message is sent prior to the WM_CREATE message when a window is first created.
| Parameter | Description |
| wParam | Contains a handle to the window that is being created. | |
| lParam | Points to the CREATESTRUCT data structure for the window. |
The return value is nonzero if the nonclient area is created. It is zero if an error occurs; the CreateWindow function will return NULL in this case.
Scroll bars are initialized (the scroll-bar position and range are set) and the window text is set. Memory used internally to create and maintain the window is allocated.