Setting Menu Buttons
 
Functions Introduced:
Sometimes it is useful to be able to set and unset menu buttons from the application. For example, if you are using data menus, you can set the appropriate buttons when the menu is displayed to show the current options.
Calling ProMenubuttonHighlight() and ProMenubuttonUnhighlight()
Both ProMenubuttonHighlight() and ProMenubuttonUnhighlight() take two arguments—the menu title and button name. Both functions must be called after the menu has been displayed (using ProMenuCreate()), but before making the menu interactive (using ProMenuProcess()). Contrast these rules to the rules for using ProMenuModeSet() and ProMenuDatamodeSet().
這是否有幫助?