Jump to content

WM QUERYCTLTYPE

From EDM2

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.