|
-
Jul 13th, 2001, 01:59 PM
#1
Subclassing The Caption Property of a Form
How would I subclass the caption property of a form?
-
Jul 18th, 2001, 12:29 AM
#2
I'm not going to explain how to subclass, as there are many other (better) explanations 2 clicks away. However, I'm almost certain that you can detect a caption change by subclassing your form hWnd and watching for the WM_SETTEXT message.
Try VBAccelerator.com for info. on subclassing (and a DLL to do it for you).
-
Jul 18th, 2001, 09:34 AM
#3
Jordan, you're a little late , but thanx anyway. WM_GETTEXT was the one to use. Thank you all for the help.
-
Jul 18th, 2001, 09:50 AM
#4
Just a small grammatical correction 
You subclass the window, not the property.
-
Jul 18th, 2001, 09:59 AM
#5
yes u r right. But you know what i meant
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|