◄Message Group► ◄Function Group► ◄Overview► ◄Up► ◄Next► ◄Previous► ──────────────────────────────────────────────────────────────────────────── #define INCL_WINHELP HM_ACTIONBAR_COMMAND usCmd = (USHORT) SHORT1FROMMP(mp1); /* command value */ The HM_ACTIONBAR_COMMAND message is sent when the user chooses a command from an application-supplied menu in the help window. The application should carry out the command identified by the usCmd parameter. Parameter Description ──────────────────────────────────────────────────────────────────────────── usCmd Low word of mp1. Specifies the command value. Return Value An application should return zero if it processes this message. Comments Applications can replace the menu in a help window by specifying a menu ID in the HELPINIT structure used when the help instance is created by using the WinCreateHelpInstance function. If an application replaces the menu, it receives the HM_ACTIONBAR_COMMAND message when the user chooses a command from the menu. Application-supplied menus should have command values in the range 0x7F00 through 0x7FFF. See Also WinCreateHelpInstance, HELPINIT ♦