Good afternoon, faced with such an interesting task that I need to determine that the terminal is currently inactive or minimized. Is there a way to determine without third-party DLLs and using WinAPI that the terminal is currently inactive or minimized.
The need arose in order not to update the panel data on the chart at such times and not to waste resources on it.
PS. I want to immediately draw attention to the fact that I need to check for minimized and terminal in the background, and not the chart window, these are different things.
dken
perhaps you are right, I did not pay attention to it.
komposter
Did you check if the panel is redrawn?
The idea is that it should be at the level of the terminal is implemented (disable update schedules in the collapsed state).
vdev
no way
alximiks
A difficult question, perhaps there are functions with a side effect, which can be used to determine the state of the terminal window.
Or maybe there are no such functions.
Rather, we need the will of developers to implement new functionality.