Since the plugin window does not accept keystrokes on Live on Windows, i created a dumb wrapper that displays just a string saying “this is a dumb wrapper” and displays my plugin as a DocumentWindow on the desktop and the problem is fixed. However Live has a weird issue, when you open your plugin and click on a different track in Live (one of those MIDI track or something) the wrapper disappears (the window that is the actual AudioProcessorEditor) BUT no methods of that window about beeing invisible or anything are called, the same goes for moving/resizing or whatever it’s like that window is dead, and i need to hide my actual DocumentWindow when Live hides the plugin editor buut i can’t cause i don’t know when to do that, there is no information about that, i tried going into the ComponentPeer and fetching some info from Win32 api on the HWND but even that doesnt seem to change when the window “hides”.
Anyone has any idea how to go around this, how to find the state of the AudioProcessorEditor without getting too much into native win32 calls, or maybe even with those calls i’ll add some #ifdefs if needed. I’m just lost as how to do that. I’m using the latest JUCE (always) and Live 8 on Win7.