Two macros are provided for defining menu buttons in the button map.
MENU_BUTTON(id, style, menuId, popupIndex, title) MENU_BUTTON_EX(id, style, menuId, popupIndex, title, bitFlag) |
Macro parameter | Description |
id | The unique ID for this button. |
style | The style for this button (should include SEC_TBBS_NODISABLE so that the button is not disabled if it does not have a command handle). |
menuId | The ID of the menu resource containing the pop-up menu for this button. |
popupIndex | The index of pop-up menu within menuId. |
title | The title for this button. |
bitFlag | The bit flag for this menu button. |
Copyright © Rogue Wave Software, Inc. All Rights Reserved.
The Rogue Wave name and logo, and Stingray, are registered trademarks of Rogue Wave Software. All other trademarks are the property of their respective owners.
Provide feedback to Rogue Wave about its documentation.