WM_CREATE

This message informs the window procedure that it can perform any initialization. The CreateWindow function sends this message before it returns and before the window is opened.

Parameter Description  

wParam Is not used.  
lParam Points to a CREATESTRUCT data structure that contains copies of parameters passed to the CreateWindow function.