Results 1 to 5 of 5

Thread: Subclassing The Caption Property of a Form

  1. #1
    spetnik
    Guest

    Subclassing The Caption Property of a Form

    How would I subclass the caption property of a form?

  2. #2
    Jordan
    Guest
    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).

  3. #3
    spetnik
    Guest
    Jordan, you're a little late , but thanx anyway. WM_GETTEXT was the one to use. Thank you all for the help.

  4. #4
    Megatron
    Guest
    Just a small grammatical correction

    You subclass the window, not the property.

  5. #5
    spetnik
    Guest
    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
  •  



Click Here to Expand Forum to Full Width