Graphisoft®

Dialog ManagerVersion: 2.0

ItemObserver::ItemContextMenuRequested

Event handler for the context menu requested notification.

virtual void ItemContextMenuRequested (
    const ItemContextMenuEvent & ev,
    bool *              needHelp,
    bool *              processed
);

Parameters

ev
A reference to the event.
needHelp
Output parameter: If the user selected the "What's this"/"Help" item in the context menu, the programmer can signal the DG module to bring up the context sensitive help information for the item/dialog. So if you want DG to launch the help system with the data related to the item/dialog (this is probably because user clicked help command in the context menu) you should set this variable true and the processed variable to false. Othervise leave it untouched. By default the value of needHelp is false.
processed
Output parameter: if the application has processed this event, this value should be set to true to avoid the default event processing. By default the value of processed is false.