View Single Post
Old 01-27-2020, 07:04 AM   #6219
Funkybot
Human being with feelings
 
Funkybot's Avatar
 
Join Date: Jul 2007
Location: New Joisey
Posts: 6,027
Default

Quote:
Originally Posted by Geoff Waddington View Post
Here's what I recall we ran into, quite possible I was missing something, that's why we're going to take another shot in beta.

If you focus an FX all is well.

If you focus another FX all is well.

You can do this forever and things are fine.

But when you unfocus the FX by clicking on something else or closing the Window, nothing happens.

That's because the FX doesn't actually un-focus -- the call to GetFocusedFX returns the last focused FX, we never get notification of a lost focus.

Is that what you see ?
Hi Geoff, yep, that's pretty much the issue in a nutshell.

Quote:
Originally Posted by MixMonkey View Post
I don't suppose the API is able to give any notification when the mixer or arrange views become the front window?
That was my thinking (albeit perhaps a bit wishful): that maybe the API is communicating active window states so while it may not say "FX unfocused" maybe it will say "TCP in focus, MIDI Editor in focus, Mixer in focus, Track manager in focus." If that's possible, then maybe those types of statements could be interrogated to notify CSI when something that's not an FX window is in focus to "turn off" focused FX mode. Just an idea, not knowing how any of this works behind the scenes.
Funkybot is offline   Reply With Quote