Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 2005 > C# 2005
C# 2005 For discussion of Visual C# 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# 2005 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old December 29th, 2005, 10:00 AM
Registered User
Join Date: Dec 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Treeview Methods

Am I missing something?
When running an app with a treeview control and a popup menu, I cannot select a node with a right mouse click. (not very clean). Therefore I must left mouse click the treeview, make sure the node I want is selected then right mouse click.

I keep trying to find a way to programatically select a node. I can GetChildAtPoint or GetNodeAt but this returns an unselected node.

Also, What does the parameter "key" in the method,TreeNodeCollection.Find(string key, bool children) search, the Text or Name property of the nodes? MSDN is silent on the subject.

Thanks in advance

Similar Threads
Thread Thread Starter Forum Replies Last Post
Static methods spinjob BOOK: Professional C++ 7 March 12th, 2009 02:16 PM
two methods different results hahaha568 BOOK: Beginning SQL 0 February 10th, 2008 09:47 AM
METHODS magagulad Java GUI 3 May 15th, 2007 12:53 PM
Dispose() methods bpevangelista BOOK: Professional XNA Game Programming: For Xbox 360 and Windows ISBN: 978-0-470-12677-6 2 May 12th, 2007 11:15 PM
Please help me with web methods DiegoF .NET Web Services 3 April 10th, 2004 11:10 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.