msgs12.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
HM_SET_SHOW_PANEL_ID (1.2)
Message Group  Function Group  Overview         Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_WINHELP
 
HM_SET_SHOW_PANEL_ID
mp1 = MPFROMSHORT(fVisible);   /* help-panel ID flag     */
mp2 = 0L;                      /* not used, must be zero */
 
An application sends an HM_SET_SHOW_PANEL_ID message to a help window to
specify whether the window should display the help-panel ID along with the
help panel title.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
fVisible   Low word of mp1. Specifies whether to display or hide the
           help-panel ID. This parameter can be one of the following
           values:
 
           Value                 Meaning
           ─────────────────────────────────────────────────────────────────
           CMIC_HIDE_PANEL_ID    Turns off the show option. The help-panel
                                 ID is not displayed.
 
           CMIC_SHOW_PANEL_ID    Turns on the show option. The help-panel ID
                                 is displayed.
 
           CMIC_TOGGLE_PANEL_ID  Toggles the display of the help-panel ID.
 
Return Value
 
The return value is zero.
 
Comments
 
The help window displays the help-panel ID along with the help-panel title
in the title bar of the help-panel window. The panel ID is enclosed in
brackets.
 
Initially, an application specifies whether to display the help-panel ID by
setting the usShowPanelId field in the HELPINIT structure when the help
instance is created by using the WinCreateHelpInstance function.
 
See Also
 
WinCreateHelpInstance, HELPINIT