API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

IMENUCTL_SETACTIVE()

Brew Release
Brew MP 1.0.2
See Also
IMenuCtl IMENUCTL_IsActive
Description
This function makes a menu control object active or inactive. Only an active menu control object handles the event sent to it. An inactive menu control object ignores the events.
NOTE: This function redraws the menu control if the specified active state does not match the current state of the menu. Thus, calling IMENUCTL_SetActive() does not redraw the menu if the state is not changed as a result of the function call.
Params
pIMenuCtl
[]:
pointer to the IMenuCtl interface object.
bActive
[]:
Boolean flag that specifies whether to activate (TRUE) or deactivate (FALSE) the menu control object.
Interface
  • IMENUCTL
Prototype
  •     void IMENUCTL_SetActive(IMenuCtl * pIMenuCtl, boolean bActive);
    
Return
  • None.
Side Effect
  • None.
Comments
None.