An application sends the WM_QUERYUISTATE message to retrieve the user interface (UI) state for a window.
Syntax
To send this message, call the
SendMessage
function as follows.
lResult = SendMessage( // returns LRESULT in lResult
hWndControl, // (HWND) handle to destination control
WM_QUERYUISTATE, // (UINT) message ID
wParam, // = () wParam;
lParam // = () lParam;
);
Parameters
- wParam
-
Not used; must be zero.
- lParam
-
Not used; must be zero.
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.
| UISF_HIDEFOCUS | Focus indicators are hidden. |
| UISF_HIDEACCEL | Keyboard accelerators are hidden. |
| UISF_ACTIVE | Windows XP: A control should be drawn in the style used for active controls. |
Message Information
| Header | Declared in Winuser.h, include Windows.h |
|---|
| Minimum operating systems |
Windows 2000 |
|---|
See Also