At 11:45 2002-11-13 -0500, Jonathan Southwick wrote:
Is there any way to get a routine to run when a window is brought to the
top or receives focus? That seems to be the only way I can get a DC
object to refresh after it is covered by another window.
The event Activate is triggered when the window is activated.
sub yourWindowName_Activate {
refreshMyStuff();
return(1);
}
But if you drag another window over your DC, it won't be repainted like
this (the event will never trigger). For that you need to paint on a
Graphics control and use the Paint event to trigger the refresh.
/J
-------- ------ ---- --- -- -- -- - - - - -
Johan Lindström Sourcerer @ Boss Casinos [EMAIL PROTECTED]
Latest bookmark: "Perfect Productivity - Tony Bowden Understandin..."
http://www.tmtm.com/insanity/2002/11/12.html
dmoz (1 of 22): /Society/Activism/Media/Radio/ 63