Gets an event that is fired when the mouse is double-clicked, (clicked twice within the time specified by a system setting.)
-------- Import ----------------- Global variables --------- -------- Connect the handler to the event. --------- -------- Event handler function definition --------- |
-------- Global variables ----------------- Connect the handler to the event. --------- -------- Event handler class definition --------- |
--------- Required include files. ------------------ Event handler class definition and global declaration. --------- class MyMouseDoubleClickEventHandler : public adsk::core::MouseEventHandler { public: void notify(const Ptr<MouseEventArgs>& eventArgs) override { // Code to react to the event. ui->messageBox("In MyMouseDoubleClickEventHandler event handler."); } } _mouseDoubleClick; --------- Connect the handler to the event. --------- |