This event fires continually while the mouse is moved over an entity that is valid for selected.
The entity and mouse position on the entity can be obtained through the Selection object returned through the selection property of the SelectionEventArgs object provided through the event.
-------- 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 MyPreSelectMouseMoveEventHandler : public adsk::core::SelectionEventHandler { public: void notify(const Ptr<SelectionEventArgs>& eventArgs) override { // Code to react to the event. ui->messageBox("In MyPreSelectMouseMoveEventHandler event handler."); } } _preSelectMouseMove; --------- Connect the handler to the event. ---------
|