The openingFromURL event fires when the user has clicked a link in a web page that uses the Fusion protocol handler to create a new file using an existing file as the initial contents. This event is fired at the beginning of the request but before Fusion has take any action so that it's still possible to cancel the operation.
-------- 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 MyOpeningFromURLEventHandler : public adsk::core::WebRequestEventHandler { public: void notify(const Ptr<WebRequestEventArgs>& eventArgs) override { // Code to react to the event. ui->messageBox("In MyOpeningFromURLEventHandler event handler."); } } _openingFromURL; --------- Connect the handler to the event. ---------
|