Close Modal CEP window from C++
I have a AI C++ plugin where I create the UI with a CEP extension.
In there I have (amongst some panels) also a modal dialog/window.
Opening that window by loading the extension works well, and everything inside the window works.
I can close the window from Javascript by using window.close(), but there are reasons why it would be better for me that I could close the window from the C++ side.
Unloading the extension will not close the window. (at least not for me). but it does 'end' the underlying CEPEngine
How can I close the window also?
Or can I specify in the manifest LifeCycle section some command that will trigger the closure of the window on unload?
Thanks
Frank
