company logo

ControlContext :: setContextMenu - Set context menu

The function allows changing the context menu for a control. The context menu with the name passed in sAction has to be defined as event action control (ADK_EventActionControl) in the resource database with a list of sub items presenting the context menu items. The action item is not displayed, but the sub items, only.

In order to refer to global actions, which are switched globally, sub items should refer to event action controls.

Implementation details

ControlContext  :: setContextMenu ( odaba::String &sAction )
  • sAction - Action name