Out-of-focus window render
Hello
I am developing a Windows program to display various data coming from other programs. I am using Application Framework with C++. I have faced with the fact that most of the time the program window may not be active (the focus is on another application), but I need to see all the changes that occur in real time, not when I return the focus. How can I solve this issue?
I am developing a Windows program to display various data coming from other programs. I am using Application Framework with C++. I have faced with the fact that most of the time the program window may not be active (the focus is on another application), but I need to see all the changes that occur in real time, not when I return the focus. How can I solve this issue?
Re: Out-of-focus window render
DisplayLauncher exposes a virtual function for that purpose:
It is implemented by default to read from the command line but you can reimplement it on you AppLauncher.
Code: Select all
virtual bool GetRunInBackgroundOverride() const;
Code: Select all
bool DisplayLauncher::GetRunInBackgroundOverride() const
{
return GetArguments().HasOption("runInBackground");
}
Re: Out-of-focus window render
Thank you for such a quick response, now everything is working as it should :)
Who is online
Users browsing this forum: No registered users and 100 guests