Title: Message
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.
 
Jeremy
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Kyley Harris
Sent: Tuesday, 8 October 2002 23:30
To: Multiple recipients of list delphi
Subject: RE: [DUG]: Trapping when a window is repainted

try Jedi library TJvaCaptionButton which places a button there. It would be a simple process to convert this to a caption/ message component instead of a button.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Jeremy Coulter
Sent: Tuesday, 8 October 2002 11:10 p.m.
To: Multiple recipients of list delphi
Subject: [DUG]: Trapping when a window is repainted

Hi all.
Well, after having a wee bit of spare time.....FINALLY....I have been having a play with a wee idea I wanted to look at for ages.
What I wanted to do, was draw some text on the caption of the active window.
I have a wee app. that outputs some data that I would like displayed on every active forms caption, just to the left of the minimize, maximize and close window.
I have been able to do this. Its actually quite easy.
BUT, what I want to know IS, is there a way to trap the windows messages for that window? i.e. if the form is moved, so I can redraw the text back onto the caption bar.
Can I trap these messges with windows hooks, i.e. create a DLL to do the journalrecord stuff?
 
Thanks,
 

Jeremy Coulter

 

-------------------------------------------------------------------

All email scanned with Nortons Antivirus 2002

-------------------------------------------------------------------

 

Reply via email to