WM CONTROL
Appearance
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.