WM_QUERYUISTATE Message

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_HIDEFOCUSFocus indicators are hidden.
UISF_HIDEACCELKeyboard accelerators are hidden.
UISF_ACTIVEWindows XP: A control should be drawn in the style used for active controls.

Message Information

HeaderDeclared in Winuser.h, include Windows.h
Minimum operating systems Windows 2000

See Also

Tags :


Page view tracker