API 설명서 > Menu manager menus > Object ProMenu > Function ProMenuModeSet
Function ProMenuModeSet
Description
Sets the mode of the specified menu. You must call this function after ProMenuFileRegister(), but before ProMenuCreate().
This function affects Menu-Manager (mode-specific) menus only.
Synopsis
#include <ProMenu.h>
ProMenuModeSet
(
ProMenuName menuname
/* (In)
The name of the menu.
*/
/* (In)
The menu mode. The possible values are PROMENUMODE_OPERATIONAL (the selected button remains highlighted only during the action of the command) and PROMENUMODE_DATA (the menu buttons are alternately highlighted and unhighlighted on selection).
*/
)
Returns
The function successfully set the mode.
A general error occurred and the function failed.
See Also
Sample Code References
User Guide References
도움이 되셨나요?