Jump to content

HM CONTROL: Difference between revisions

From EDM2
Created page with "{{DISPLAYTITLE:HM_CONTROL}} 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== <pre> param1 USHORT usReserve; Reserved value.: USHORT controlres; Res number of the control that was selected.: param2 ULONG ulReserved; Reserved value.: </pre> ==Parameters== ;usReserve (USHORT) - input: Reserved value. ;controlres (USHORT) - input: Res number of the contro..."
 
Ak120 (talk | contribs)
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{DISPLAYTITLE:HM_CONTROL}}
{{DISPLAYTITLE:HM_CONTROL}}
This message is sent by the Help Manager to the child of the coverpage window
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.
to add a control in the control area of a window.


==Syntax==
==Syntax==
<pre>
<pre>
param1
param1
USHORT usReserve;   /* Reserved value. */
USHORT usReserve; /* Reserved value. */
USHORT controlres; /* Res number of the control that was selected. */
USHORT controlres; /* Res number of the control that was selected. */


param2
param2
ULONG ulReserved;   /* Reserved value. */
ULONG ulReserved; /* Reserved value. */
</pre>
</pre>


==Parameters==
==Parameters==
;usReserve ([[USHORT]]) - input: Reserved value.
;usReserve ([[USHORT]]) - input: Reserved value.
;controlres ([[USHORT]]) - input: Res number of the control that was selected.
;controlres (USHORT) - input: Res number of the control that was selected.
::For author-defined push buttons, this is the res identification number that
: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.
:::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 ([[ULONG]]) - return: Reserved value, should be 0.
;ulReserved (ULONG) - return: Reserved value, should be 0.


==Remarks==
==Remarks==
If an application wants to filter any of the controls, it can subclass the
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.
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==
==Default Processing==

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.