I've made an InDesign
plugin (in C++) that loads a DLL
. I've been able to call its methods and handle its events in my plugin.
Now, I'm stuck with a thing—
I want to get the event when the InDesign application is minimized/maximized and perform some function on that event.
I tried using the InDesign messages but its not fulfilling the purpose since I'm getting some ambiguous results with that.
I guess this can also be accomplished using the WinAPI
. If yes, I want to know how— any sample code / tutorial would be helpful.