Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Can I detect if the tab window is visible?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Can I detect if the tab window is visible?

 Post Reply Post Reply
Author
Message
rconn View Drop Down
Groupie
Groupie


Joined: 16 May 2007
Location: United States
Status: Offline
Points: 77
Post Options Post Options   Thanks (0) Thanks(0)   Quote rconn Quote  Post ReplyReply Direct Link To This Post Topic: Can I detect if the tab window is visible?
    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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.141 seconds.