description | ms.assetid | title | ms.topic | ms.date |
---|---|---|---|---|
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. |
bc9f76ca-62af-4f0b-8791-49269a1b23d1 |
WM_QUERYNEWPALETTE message (Winuser.h) |
reference |
05/31/2018 |
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.
A window receives this message through its WindowProc function.
LRESULT CALLBACK WindowProc(
HWND hwnd,
UINT uMsg,
WPARAM wParam,
LPARAM lParam
);
-
wParam
-
This parameter is not used.
-
lParam
-
This parameter is not used.
If the window realizes its logical palette, it must return TRUE; otherwise, it must return FALSE.
Requirement | Value |
---|---|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
Minimum supported server |
Windows 2000 Server [desktop apps only] |
Header |
|