Hi all,
In the Juce “Plugin Host” demo, at the MainHostWindow’s constructor I see the following command :
addKeyListener (getCommandManager().getKeyMappings());
This key listener is called by keypressed() function of the corresponding component, assuming that the setWantsKeyboardFocus() function has prior been called.
But I can’t see any appropriate calling sequence to implement this issue
At this point I have lost the focus. . .
What am I missing about this ?
BTW with the code listed bellow :
enum AudioTreeCommands : juce::CommandID
{
open = 0x30000,
save = 0x30001,
etc. . .
};
I am experiencing the following problem : the enum items are not accepted as a legal parameter by the functions of AppliationCommandTarget class.
Any idea for this ?
Thanks in advance
George