Link to home
Start Free TrialLog in
Avatar of simonwait
simonwaitFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Prevent string from searching Treeview

Hi

I have a treeview control on a VB6 form which is working great however whenever I send strings (via a serial macro key) to other overlaid forms I seem to have accidentally made the treeview focused and then the string gets sent to that which then jumps through the string to find a node with that string.  Is it possible to turn this off in the treeview control?

Cheers
Avatar of Martin Liss
Martin Liss
Flag of United States of America image

Do you have the ability to set focus to the other form(s) before you send the strings?
Avatar of simonwait

ASKER

I wouldn't know which forms as it's variable.   I think that was your point?   I'm now wondering if this is a windows trait
These other "overlaid forms", are they forms from the same application that contains the treeview?

And how do you determine which form you want to affect?
Yeah
ASKER CERTIFIED SOLUTION
Avatar of Martin Liss
Martin Liss
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I'm glad I was able to help.

In my profile you'll find links to some articles I've written that may interest you.
Marty - MVP 2009 to 2015