Skip to content

Latest commit

 

History

History
102 lines (57 loc) · 2.57 KB

wm-queryuistate.md

File metadata and controls

102 lines (57 loc) · 2.57 KB
title description ms.assetid keywords topic_type api_name api_location api_type ms.topic ms.date
WM_QUERYUISTATE message (Winuser.h)
An application sends the WM\_QUERYUISTATE message to retrieve the UI state for a window.
3a9e3477-b5d7-4c55-b6d4-8a479451fee8
WM_QUERYUISTATE message Menus and Other Resources
apiref
WM_QUERYUISTATE
Winuser.h
HeaderDef
reference
05/31/2018

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/value Description
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

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

Reference

WM_CHANGEUISTATE

WM_UPDATEUISTATE

Conceptual

Keyboard Accelerators