This event is fired when the JavaScript associated with the HTML displayed in a BrowserCommandInput calls the adsk.fusionSendData function and when the JavaScript responds to the sendInfoToHTML call. The HTMLEventArgs provided by the event indicates which BrowserCommandInput triggered 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 MyIncomingFromHTMLEventHandler : public adsk::core::HTMLEventHandler { public: void notify(const Ptr<HTMLEventArgs>& eventArgs) override { // Code to react to the event. ui->messageBox("In MyIncomingFromHTMLEventHandler event handler."); } } _incomingFromHTML; --------- Connect the handler to the event. --------- |