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
This message has no parameters.
If the window realizes its logical palette, it must return TRUE; otherwise, it must return FALSE.
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in winuser.h.
Colors Overview, Color Messages, WM_PALETTECHANGED, WM_PALETTEISCHANGING