Jump to content

WM PCONTROL

From EDM2
Revision as of 03:58, 18 April 2025 by Martini (talk | contribs) (Created page with "This message is posted when the Language Support Window or Dialog Procedure processes a WM_CONTROL message. ==Syntax== <pre> param1 USHORT id; Control-window identity.: USHORT usnotifycode; Notify code.: param2 ULONG ulZero; Zero.: </pre> ==Parameters== ;''id'' (USHORT) - input: Control-window identity. This is either the parameter of the WinCreateWindow function or the identity of an item in a dialog template. ;...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This message is posted when the Language Support Window or Dialog Procedure processes a WM_CONTROL message.

Syntax

param1
    USHORT id;           /* Control-window identity. */
    USHORT usnotifycode; /* Notify code. */

param2
    ULONG  ulZero;       /* Zero. */

Parameters

id (USHORT) - input
Control-window identity. This is either the parameter of the WinCreateWindow function or the identity of an item in a dialog template.
usnotifycode (USHORT) - input
Notify code. The meaning of the notify code depends on the type of the control. For details, refer to the section describing that control.
ulZero (ULONG) - input
Zero. 0 The control-specific information in ulcontrolspec of the WM_CONTROL message is not available because the information might not be valid when the application receives this message.

Returns

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

Remarks

The notification from the control has already been processed when the application receives this message.

Default Processing

The default window procedure takes no action on this message, other than to set ulReserved to 0.