Jump to content

HM_CONTROL

From EDM2
Revision as of 03:13, 18 May 2025 by Ak120 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This message is sent by the Help Manager to the child of the coverpage window to add a control in the control area of a window.

Syntax

param1
USHORT usReserve;  /* Reserved value. */
USHORT controlres; /* Res number of the control that was selected. */

param2
ULONG ulReserved;  /* Reserved value. */

Parameters

usReserve (USHORT) - input
Reserved value.
controlres (USHORT) - input
Res number of the control that was selected.
For author-defined push buttons, this is the res identification number that was specified with the push button tag (":pbutton:"). For default push buttons, this is the res identification number defined in the PMHELP.H file.
ulReserved (ULONG) - input
Reserved value.

Returns

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

Remarks

If an application wants to filter any of the controls, it can subclass the child of the coverpage window and intercept this message. If the application does not intercept this message, the Help Manager adds the control to the control area.

Default Processing

None.