Dear Experts,
I have an application that has several graphical components on it.
The state of these components is decided by some data which is
available in some data store. The graphical components periodically go
to the data base to see if the data has changed and accordingly change
their display state. Now its wasteful for my application to update its
graphical state if a particular component is not being visible
(meaning that some other Window is hiding a part or full of my
applications Window). I am trying to figure out which part of my
applications Window is currently visible on my computers display. This
way, my components can decided if they have to update themselves or
not (they could sit idle if they are not visible or could periodically
update their state if they are visible).
Any idea on how I can check which region on my Window is
currently visible on the display? Thanks.
Regards,
Ganesh Okade
Sunlux Technologies Ltd.