AareR
6 discussion posts
Hei
I try to get to work following trigger function.
If game (Fullscreen mode) got Focus in Main monitor then second monitor fade in. When I Alt-Tab game then second monitor fade out.
I see in the triggers "Window Focused" but no option for "Window Lost Focus".
When I maximize game (with the function "Window restored") then second monitor fade properly. But any of the window functions don't fade second monitor back if I Alt-Tab game to tray. Whay I dont see LostFocus option?
Oct 9, 2019 (modified Oct 9, 2019)
•
#1
There's no global message that gets sent when a window loses focus, so we don't have any way to hook that.
Are you trying to keep the second monitor always faded?
AareR
6 discussion posts
No I'm not.
What I tray to do is:
When game in fullscreen then second monitor is faded and when I Alt-Tab (minimize) game then second monitor come out from the fade state.
Problem is for some reason DF don't register this state as minimize and second monitor stay faded.
Ah ok, gotcha. I can't think of a way to do what you're looking for at the moment, but if we're able to add something that will do this in the future, we'll be sure to let you know.
Thanks!