The WM_QUERYNEWPALETTE message informs a window that it is about to receive the keyboard focus, giving the window the opportunity to realize its logical palette when it receives the focus.
WM_QUERYNEWPALETTE
Parameters
This message has no parameters.
Return Values
If the window realizes its logical palette, it must return TRUE; otherwise, it must return FALSE.
See Also