Jump to content

WM CONTROL

From EDM2
Revision as of 20:11, 14 May 2024 by Martini (talk | contribs) (Created page with "This message occurs when a control has a significant event to notify to its owner. ==Syntax== <PRE> param1 USHORT id Control-window identity.: US...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This message occurs when a control has a significant event to notify to its owner.

Syntax

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

param2
     ULONG   ulcontrolspec  /*  Control-specific information. */

Parameters

id (USHORT)
Control-window identity.
This is either the parameter of the WinCreateWindow function or the identity of an item in a dialog template.
usnotifycode (USHORT)
Notify code.
The meaning of the notify code depends on the type of the control. For details, refer to the section describing that control.
ulcontrolspec (ULONG)
Control-specific information.
The meaning of the control-specific information depends on the type of the control. For details, refer to the section describing that control.

Returns

ulReserved (ULONG)
Reserved value, should be 0.

Remarks

This message is sent to the owner of the control, thereby offering it the opportunity to perform some activity before returning to the control.

Default Processing

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

Related Messages