Active Window Detection
Posted: Thu Nov 07, 2013 9:23 pm
I've designed a plugin where the hotkeys/keyboard shortcuts are very important.
If the plugin window is not the active window, then the hotkeys/keyboard shortcuts won't work. Instead, they will control the DAW.
I'd like to have something in the GUI to show if the plugin window is active or not. Basically, you glance over and if it's green, you know you can use the hotkeys, if it's red then you know you can't and that you need to make the window active.
Has anyone run across a way to do this?
If the plugin window is not the active window, then the hotkeys/keyboard shortcuts won't work. Instead, they will control the DAW.
I'd like to have something in the GUI to show if the plugin window is active or not. Basically, you glance over and if it's green, you know you can use the hotkeys, if it's red then you know you can't and that you need to make the window active.
Has anyone run across a way to do this?