Hmm..just re-read your orig message and realised I didn't read it properly. Sorry, I thought you were trying to do this painting within your own app. Disregard pls :)
Chris > -----Original Message----- > From: vss [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, 9 October 2002 9:13 a.m. > To: Multiple recipients of list delphi > Subject: Re: RE: [DUG]: Trapping when a window is repainted > > > Ok. To clarify this more. YES it does, BUT if you have say a > delphi app. > that handles the drawing onto another form, the active one, > because the > delphi app. will be running hidden, it does not trap the > active windows > repaint or whatever messages. > > I actually found a hack for this, and thats to use a timer. > If I draw the date and time onto the caption this works fine > because the > caption changes every second. Its alos flicker free which is good. > > Jeremy > > -----Original Message----- > From: Chris Reynolds <[EMAIL PROTECTED]> > To: Multiple recipients of list delphi <[EMAIL PROTECTED]> > Date: Wed, 09 Oct 2002 09:01:23 +1300 > Subject: Re: RE: [DUG]: Trapping when a window is repainted > > > > > > > Umm....read the message again....I already KNOW how to > put text on > > the > > > caption. I want to trap when the active window is moved or > > repainted. > > > > > > > I assume from that answer that TJvaCaptionButton doesn't capture the > > form moves. Surprising! > > > > > > > > > -------------------------------------------------------------- > --------- > > ---- > > New Zealand Delphi Users group - Delphi List - > [EMAIL PROTECTED] > > Website: http://www.delphi.org.nz > > To UnSub, send email to: [EMAIL PROTECTED] > > with body of "unsubscribe delphi" > > Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ > > -------------------------------------------------------------- > ------------- > New Zealand Delphi Users group - Delphi List - > [EMAIL PROTECTED] > Website: http://www.delphi.org.nz > To UnSub, send email to: [EMAIL PROTECTED] > with body of "unsubscribe delphi" > Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ > --------------------------------------------------------------------------- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi" Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/