I'm looking for a property that I can view to see whether a form is visible or not.
I have an application (Pocket Forecast) that can be configured to get an update and refresh the screen. The problem is that if the program is minimized that I don't want to refresh the screen (but I want to continue getting updates). The application can be maximized by other programs such as Task Manager.
The only way I can think of is to check to see whether the form is in focus or is visible, and if it isn't then not to update the screen.
Is there a way to do this?
I have an application (Pocket Forecast) that can be configured to get an update and refresh the screen. The problem is that if the program is minimized that I don't want to refresh the screen (but I want to continue getting updates). The application can be maximized by other programs such as Task Manager.
The only way I can think of is to check to see whether the form is in focus or is visible, and if it isn't then not to update the screen.
Is there a way to do this?