The openedFromURL event fires after the user has clicked a link in a web page that uses the Fusion protocol handler to create a new using an existing file as the initial contents and that operation has completed.
-------- 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 MyOpenedFromURLEventHandler : public adsk::core::WebRequestEventHandler { public: void notify(const Ptr<WebRequestEventArgs>& eventArgs) override { // Code to react to the event. ui->messageBox("In MyOpenedFromURLEventHandler event handler."); } } _openedFromURL; --------- Connect the handler to the event. --------- |