469,902 Members | 1,926 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,902 developers. It's quick & easy.

TreeView Focus

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

Oct 20 '05 #1
3 1648
I thought that there was a 2 day turnaround in this newsgroup? Guess I was
misinformed.

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

Nov 22 '05 #2
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

"Dave" <Da**@discussions.microsoft.com> wrote in message
news:6E**********************************@microsof t.com...
I thought that there was a 2 day turnaround in this newsgroup? Guess I was
misinformed.

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

Nov 22 '05 #3
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?

"Tom Serface" wrote:
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

"Dave" <Da**@discussions.microsoft.com> wrote in message
news:6E**********************************@microsof t.com...
I thought that there was a 2 day turnaround in this newsgroup? Guess I was
misinformed.

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


Nov 22 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Franck Pommereau | last post: by
1 post views Thread by Rasmus | last post: by
reply views Thread by Elliot | last post: by
1 post views Thread by iqbal | last post: by
1 post views Thread by mongphong28 | last post: by
18 posts views Thread by =?Utf-8?B?TGkgV2VuZw==?= | last post: by
1 post views Thread by =?Utf-8?B?TG9yZW4=?= | last post: by
1 post views Thread by Waqarahmed | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.