Results 1 to 2 of 2

Thread: Hooking and/or SubClassing. What are my options?

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Feb 2000
    Location
    Sedgefield
    Posts
    337

    Question

    I'm writing an addin for the IDE which needs to know about changes of focus in the project window treeview. I first thought to subclass the window,but couldn't get it to work. I thought this was because you wre limited to subclassing in your own process. But a compiled addin would run in the same process as the IDE, would it not? And therefore subclassing should be possible?

    If not, can I use Hooking? If I can, how do I do it? (I know less about hooking than I do about subclassing and I hardly know a thing about that!).

    I can use SendMessage to get to text of the selected node in an external treeview, but I need to be informed when a new item is selected (TVN_SELCHANGED notify for example).

    Please, Please, Please, Please, Please, Please, Please, Please, Please, Please, Please, Please, Please, Please, Please, Please, help.

    Thank you.

    Dan

    Outside of a dog, a book is a man's best friend.
    Inside of a dog, it's too dark to read.

  2. #2

    Thread Starter
    Hyperactive Member
    Join Date
    Feb 2000
    Location
    Sedgefield
    Posts
    337

    Talking Look Here

    Since no one was in a rush to help me out, I figured it out myself

    The answers we all want to know are contained in this other thread.

    Dan

    Outside of a dog, a book is a man's best friend.
    Inside of a dog, it's too dark to read.

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