Determine closing a document via MindManager API
Answered
In my AddIn, I use document events and I have the following question:
The mmEventFlagDocumentClosed is only been issued on-before. Is there a way to determine that the document is closed? Like an ActiveDocumentChanged event or even a document tab close event?
Hello Tom
I guess there is no DocumentClosed event issued on-after because the event handler cannot pass a document pointer. The document pointer will be invalid when the document is closed.
If your add-in still has a document pointer, you could iterate over the documents collection, looking for your pointer. In WWB script this would look like:
Hello Tom
I guess there is no DocumentClosed event issued on-after because the event handler cannot pass a document pointer. The document pointer will be invalid when the document is closed.
If your add-in still has a document pointer, you could iterate over the documents collection, looking for your pointer. In WWB script this would look like:
---