HM NOTIFY: Difference between revisions
Appearance
Created page with "{{DISPLAYTITLE:HM_NOTIFY}} This message is used by the application to sub-class and change the behavior or appearance of the help window. ==Syntax== <pre> param1 USHORT controlres; →Res number of the control that was selected.: USHORT usReserve; →Reserved value, should be 0.: USHORT usevent; →The type of event which has occurred.: param2 ULONG ulhwnd; →Window handle of relevant window.: </pre> ==Parameters== ;controlres (USHORT) - input:..." |
No edit summary |
||
Line 16: | Line 16: | ||
==Parameters== | ==Parameters== | ||
;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 number that was specified with the push button tag (":pbutton:"). For default push buttons, this is the res number defined in the PMHELP.H file. | |||
;usReserve ([[USHORT]]) - input: Reserved value, should be 0. | ;usReserve ([[USHORT]]) - input: Reserved value, should be 0. | ||
:Reserved for events other than CONTROL_SELECTED and HELP_REQUESTED. | |||
;usevent ([[USHORT]]) - input: The type of event which has occurred. | ;usevent ([[USHORT]]) - input: The type of event which has occurred. | ||
::CONTROL_SELECTED: A control was selected. | ::CONTROL_SELECTED: A control was selected. | ||
Line 40: | Line 38: | ||
==Remarks== | ==Remarks== | ||
This message is sent to the application to notify it of events that the | This message is sent to the application to notify it of events that the application would be interested in controlling. | ||
application would be interested in controlling. | |||
==Default Processing== | ==Default Processing== |
Latest revision as of 04:04, 28 April 2025
This message is used by the application to sub-class and change the behavior or appearance of the help window.
Syntax
param1 USHORT controlres; /* Res number of the control that was selected. */ USHORT usReserve; /* Reserved value, should be 0. */ USHORT usevent; /* The type of event which has occurred. */ param2 ULONG ulhwnd; /* Window handle of relevant window. */
Parameters
- controlres (USHORT) - input
- Res number of the control that was selected.
- For author-defined push buttons, this is the res number that was specified with the push button tag (":pbutton:"). For default push buttons, this is the res number defined in the PMHELP.H file.
- usReserve (USHORT) - input
- Reserved value, should be 0.
- Reserved for events other than CONTROL_SELECTED and HELP_REQUESTED.
- usevent (USHORT) - input
- The type of event which has occurred.
- CONTROL_SELECTED: A control was selected.
- HELP_REQUESTED: Help was requested.
- OPEN_COVERPAGE: The coverpage is displayed.
- OPEN_PAGE: The child window of the coverpage is opened.
- SWAP_PAGE: The child window of the coverpage is swapped.
- OPEN_INDEX: The index window is displayed.
- OPEN_TOC: The table of contents window is displayed.
- OPEN_HISTORY: The history window is displayed.
- OPEN_LIBRARY: The new library is opened.
- OPEN_SEARCH_HIT_LIST: The search list displayed.
- ulhwnd (ULONG) - input
- Window handle of relevant window.
Returns
- rc (BOOL) - return
- Return code.
- TRUE: IPF will not format the controls and re-size the window.
- FALSE: IPF will process as normal.
Remarks
This message is sent to the application to notify it of events that the application would be interested in controlling.
Default Processing
None.