PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Framework Forms Howto check if form is visible in code

Reply

Howto check if form is visible in code

 
Thread Tools Rate Thread
Old 10-12-2003, 10:55 AM   #1
H. den Breejen
Guest
 
Posts: n/a
Default Howto check if form is visible in code


Hi

I have a form that updates its controls when some external event is
received.
Because the updates are relatively expensive, I want to update only when
the form, or part of it, is actually visible on the screen.

I have of course tried using the Visible property, but does not change when
my window is covered by another window.
The Activated event is no help either, because I do want to update my
controls when my window is not active, but still visible.

Any ideas?
Thanks.

- Hildo den Breejen
  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off