Jump to content

WM QUERYCTLTYPE

From EDM2
Revision as of 04:13, 18 April 2025 by Martini (talk | contribs) (Created page with "This message is sent by an application to a window to determine the type of control window it is (if any). ==Syntax== <pre> param1 ULONG ulReserved; Reserved value, should be 0.: param2 ULONG ulReserved; Reserved value, should be 0.: </pre> ==Parameters== ;''ulReserved'' (ULONG) - input: Reserved value, should be 0. ;''ulReserved'' (ULONG) - input: Reserved value, should be 0. ==Returns== ;''ulType'' (ULONG) - returns: Control type. :CCT_*: The wind...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This message is sent by an application to a window to determine the type of control window it is (if any).

Syntax

param1
    ULONG ulReserved; /* Reserved value, should be 0. */

param2
    ULONG ulReserved; /* Reserved value, should be 0. */

Parameters

ulReserved (ULONG) - input
Reserved value, should be 0.
ulReserved (ULONG) - input
Reserved value, should be 0.

Returns

ulType (ULONG) - returns
Control type.
CCT_*: The window is a system control window of specified type.
0: The window is not a system control window.

Remarks

This message can be used to determine whether a window is a system control, and if it is a system control, what type of system control.

Default Processing

The default window procedure does not expect to receive this message and therefore takes no action on it, other than to set rc to the default value of FALSE.