HM_NOTIFY
Appearance
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.
- For author-defined push buttons, this is the res number that was specified
- 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.