Jump to content

HM_ACTIONBAR_COMMAND

From EDM2


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.


Parameters

usCmd
Low word of mp1. Specifies the command value.

Returns

An application should return zero if it processes this message.

Remarks

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 Ox7FOO through Ox7FFF.


Example Code

HM_ACTIONBAR_COMMAND
usCmd = (USHORT) SHORT1FROMMP(mp1); /* command value */

Related Functions