Closing MM Applicattion via API

Tom R. shared this question 2 months ago
Answered

Hello,

is there a way to close the current mindmanager application via api? In the Office Products you can do that by using the method application.Quit()

Replies (1)

photo
1

I could not see a method in the API for this. You could try sending a WM_CLOSE message to the application, or a quick and dirty way would be to send the keyboard characters Alt+F, X. I have not actually tried either of these though.

photo
1

Thanks for the information.
The reason for this topic was that after closing MindManager the mindmanager.exe was still shown in the Task-Manager. This problem was caused because there was still a connection between the other program and the add-in. After making sure this connection is disconnected before closing. Everything is working fine.


So you can close the topic :)

photo
1

OK great, Yes, any object pointers that are not disposed will prevent the MindManager process from ending. These can be hard to find!

photo
Leave a Comment
 
Attach a file