HM CONTROL: Difference between revisions
Appearance
mNo edit summary |
mNo edit summary |
||
Line 14: | Line 14: | ||
==Parameters== | ==Parameters== | ||
;usReserve ([[USHORT]]) - input: Reserved value. | ;usReserve ([[USHORT]]) - input: Reserved value. | ||
;controlres ( | ;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. | :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. | ;ulReserved ([[ULONG]]) - input: Reserved value. | ||
==Returns== | ==Returns== | ||
;ulReserved ( | ;ulReserved (ULONG) - return: Reserved value, should be 0. | ||
==Remarks== | ==Remarks== |
Latest revision as of 03:13, 18 May 2025
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.