Since my many recent posts have elicited little response from anybody, I'm now challenging the gurus ( and/or anyone else who wants a crack at it).

I've been trying to find a reliable, stable way to 'find out', or 'be informed' of focus changes in the VB IDE Project Window TreeView, and to extract the node text from the node which receives the focus when it changes.

(I'm using VB6 SP3 on NT4 SP5 BTW).

I managed to do both using Hooking and SendMessage, but my methods only work in debug mode. I understand that cross process hooking might require an external dll, but how then do I get messages from the dll back to my app?

I thought of subclassing, but on NT you can't subclass a 'foreign' window.

I refuse to believe this isn't possible!

I'm not sure why the sendmessage method of retrieving the node text doesn't work in a compiled exe. If that worked I could (as a last resort) use that method in a timer loop, but that seems quite inelegant.

Input, you clever guru people you? Please? With cherries on?

[Edited by Judd on 07-06-2000 at 12:40 PM]