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_HELP_WINDOW_TITLE (1.2)
◄Message Group► ◄Function Group► ◄Overview► ◄Up► ◄Next► ◄Previous►
────────────────────────────────────────────────────────────────────────────
#define INCL_WINHELP
HM_SET_HELP_WINDOW_TITLE
mp1 = MPFROMP(pszHelpWindowTitle); /* pointer to new title */
mp2 = 0L; /* not used, must be zero */
An application sends an HM_SET_HELP_WINDOW_TITLE message to a help window to
change the window title.
Parameter Description
────────────────────────────────────────────────────────────────────────────
pszHelpWindowTitle Low and high word of mp1. Points to the null-terminated
string that contains the new Help-window title.
Return Value
The return value is FALSE if the window title is set. Otherwise, it is an
error value, which may be one of the following:
HMERR_ALLOCATE_SEGMENT
HMERR_NO_MEMORY
Comments
The initial window title is specified by setting the pszHelpWindowTitle
field in the HELPINIT structure used when the help instance is created by
using the WinCreateHelpInstance function. The system allocates memory to
save the title and frees the memory when the HM_SET_HELP_WINDOW_TITLE
message is used to change the title.
See Also
WinCreateHelpInstance, HELPINIT
♦