![]() |
MapLink Pro 11.2
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
|
This is the TSLWinContextHandler class.
If context menu invocation is required, you should derive a custom handler from this class, overriding the invokeContextMenu method. Pass in an instance of the derived class to the TSLAllWindowsOperations::add or TSLWin SelectOperation::add method. When appropriate, the invokecontextMenu method will be called with the position clicked, and the current Editor in use.
Public Member Functions | |
| TSLWinContextHandler () | |
| virtual | ~TSLWinContextHandler () |
| virtual void | invokeContextMenu (TSLEditor *editor, TSLDeviceUnits xDU, TSLDeviceUnits yDU)=0 |
| TSLWinContextHandler::TSLWinContextHandler | ( | ) |
Constructor for TSLWinContextHandler
|
virtual |
virtual Destructor for TSLWinContextHandler
|
pure virtual |
This method is triggered by the Windows-style selection mechanism when a context menu may be invoked.
| editor | Pointer to the current TSLEditor instance. |
| xDU | X position, in Device Units where the invoking button press occurred |
| yDU | Y position, in Device Units, where the invoking button press occurred. |