Hello to everyone!
I'm working on a plugin that does not use it's own PluginEditor (AudioProcessorEditor) but uses a Common Editor, a separate JUCE DocumentWindow. All instances of this plugin uses this Common editor, the current editable instance is selectable inside it. (This common editor is created in the first plugin instance's constructor)
It works well, but i ran into a problem and i can't solve it. I'm testing my plugins in a host called "Console" and a strange thing happens. The active window (which has the focus) is my common editor DocumentWindow. I press a key (F3), i handle this key (juce_win32_Windowing::doKeyDown returns true) but Console starts one of its functions!!! (F3 in Console = turn on audio).
I don't understand it, how can this keyboard event get to Console when the active window is my Common Editor? My common editor is opened on the Desktop. (constructor 4th param is true) I've tried to open it with this code but it didn't help:
mainWindow->addToDesktop(mainWindow->getDesktopWindowStyleFlags(), (void *)GetDesktopWindow());
Can I solve it somehow to block the host getting any keyboard message when a DocumentWindow is the active window? Any suggestion?
Platform: Windows 8.1 64bit, Corei7 8GBRAM.
JUCE version: 3.0.8
Thanks,
Zajos
