ADTF_DISPLAY_TOOLBOX  3.8.0 (ADTF 3.14.3)
IMenuEventSinkabstract

Interface for handling context menu events. More...

Public Member Functions

 ADTF_IID (IMenuEventSink, "menueventsink.chewbacca.mixinlib.disptb.adtf.iid")
 Define an interface id for this class.
 
virtual tResult HandleMenuEvent (const tChar *strMenuText, tVoid *pvEventData)=0
 Handle an event related to menu. More...
 

Detailed Description

Interface for handling context menu events.

Definition at line 24 of file menu_intf.h.

Member Function Documentation

◆ HandleMenuEvent()

virtual tResult HandleMenuEvent ( const tChar *  strMenuText,
tVoid *  pvEventData 
)
pure virtual

Handle an event related to menu.

Called when the user selects a context menu element.

Parameters
strMenuText[in] The text of the menu element.
pvEventData[in] Additional event data (currently a bool telling whether the entry is checked or not).
Returns
Standard result.