WM_QUERYUISTATE message

An application sends the WM_QUERYUISTATE message to retrieve the UI state for a window.


#define WM_QUERYUISTATE                 0x0129

Parameters

wParam

This parameter is not used and must be 0.

lParam

This parameter is not used and must be 0.

Return value

The return value is NULL if the focus indicators and the keyboard accelerators are visible. Otherwise, the return value can be one or more of the following values.

Return code/valueDescription
UISF_ACTIVE
0x4

A control should be drawn in the style used for active controls.

UISF_HIDEACCEL
0x2

Keyboard accelerators are hidden.

UISF_HIDEFOCUS
0x1

Focus indicators are hidden.

 

Requirements

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

Reference
WM_CHANGEUISTATE
WM_UPDATEUISTATE
Conceptual
Keyboard Accelerators

 

 

Community Additions

ADD
Show: