Skip to content

Latest commit

 

History

History
79 lines (48 loc) · 1.83 KB

wm-querynewpalette.md

File metadata and controls

79 lines (48 loc) · 1.83 KB
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

WM_QUERYNEWPALETTE message

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     
);

Parameters

wParam

This parameter is not used.

lParam

This parameter is not used.

Return value

If the window realizes its logical palette, it must return TRUE; otherwise, it must return FALSE.

Requirements

Requirement Value
Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
Header
Winuser.h (include Windows.h)

See also

Colors Overview

Color Messages

WM_PALETTECHANGED

WM_PALETTEISCHANGING