TreeView Focus

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I use the treeview to open a new form but the treeview reclaims focus after
MouseUp. Any solutions to this problem?
 
Hi Dave,

You will often get answers very quickly in the newsgroups. There are lots
of smart people who frequent here. However, for the most part it is peopled
by volunteers so there are no guarantees.

I'm not sure I understand this question. Are you saying the tree control
takes focus from the form simply by moving the mouse up? If that is
happening is there possible some code in your program that is setting the
focus to the tree again perhaps in a SetCursor() or MouseMove() call or
something like that? Perhaps posting more information would help to spark
other people's comments.

Tom
 
Thank you for your response.

No, I am not doing anything to return focus to the treeview. I find it
impossible to:
a. Click the tree view node
b. Open a New form based on the Click event.
c. Have focus remain on the newly opened form.

It seems that the control itself will not release focus when a node is
clicked.

Any ideas?
 
Back
Top