Can I detect if the tab window is visible? |
Post Reply |
Author | |
rconn
Groupie Joined: 16 May 2007 Location: United States Status: Offline Points: 77 |
Post Options
Thanks(0)
Posted: 13 November 2007 at 12:54am |
I'm using CXTPTabClientWnd for tabbed MDI windows. I need to do background processing in the windows (which is fired from a timer in each of the views), but I don't want to waste time doing the background processing if the view isn't visible (i.e., if the tab is not selected).
Is there a way of determining from the view if it is actually visible? (I've tried OnActivateView, which works provided I don't switch to another app -- I need something that will let me keep processing the visible views, even if they're not the foreground window.
Thanks.
Rex Conn
JP Software
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |