WM_ENABLE

This message is sent after a window has been enabled or disabled.

Parameter Description  

wParam Specifies whether the window has been enabled or disabled. The wParam parameter is nonzero if the window has been enabled; it is zero if the window has been disabled.  
lParam Is not used.