<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : URGENT: Treeview nodes in shortcutbar</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Suite Pro : URGENT: Treeview nodes in shortcutbar]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 28 May 2026 02:39:27 +0000</pubDate>
  <lastBuildDate>Tue, 14 Mar 2006 14:43:01 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=3775</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[URGENT: Treeview nodes in shortcutbar : Using VB6 i created an app which...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3775&amp;PID=11416&amp;title=urgent-treeview-nodes-in-shortcutbar#11416</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1847">TThorne</a><br /><strong>Subject:</strong> 3775<br /><strong>Posted:</strong> 14 March 2006 at 2:43pm<br /><br /><P>Using VB6 i created an app which uses a shortcutbar for a menu and a pane containing a treeview. Upgraded to Visual Studio 2005 and the treeview click is no longer working.</P><P>on the load event, the following is run.</P><FONT size=2><P>tvwMenuItems.Nodes.Add(</FONT><FONT color=#800000 size=2>"ID:"</FONT><FONT size=2> &amp; </FONT><FONT color=#0000ff size=2>CStr</FONT><FONT size=2>(FORMINDEX_COMM), </FONT><FONT color=#800000 size=2>"Communications"</FONT><FONT size=2>, 0)</FONT></P><P><FONT size=2>and the following is activated on the treeview click event:</FONT></P><FONT size=2><FONT size=2><P></FONT><FONT color=#0000ff size=2>Private</FONT><FONT size=2> </FONT><FONT color=#0000ff size=2>Sub</FONT><FONT size=2> tvwMenuItems_Click(</FONT><FONT color=#0000ff size=2>ByVal</FONT><FONT size=2> eventSender </FONT><FONT color=#0000ff size=2>As</FONT><FONT size=2> System.Object, </FONT><FONT color=#0000ff size=2>ByVal</FONT><FONT size=2> eventArgs </FONT><FONT color=#0000ff size=2>As</FONT><FONT size=2> System.EventArgs) </FONT><FONT color=#0000ff size=2>Handles</FONT><FONT size=2> tvwMenuItems.Click</P><P></FONT><FONT color=#0000ff size=2>Dim</FONT><FONT size=2> selectedItem </FONT><FONT color=#0000ff size=2>As</FONT><FONT size=2> XtremeShortcutBar.ShortcutBarItem</P><P>selectedItem = frmSDIInterface.wndWindowView.FindItem(</FONT><FONT color=#0000ff size=2>CInt</FONT><FONT size=2>(Mid(eventSender.SelectedNode.Name, InStr(eventSender.SelectedNode.Name, </FONT><FONT color=#800000 size=2>":"</FONT><FONT size=2>) + 1)))</P><P>frmSDIInterface.wndWindowView.Selected = selectedItem</P><P></FONT><FONT color=#0000ff size=2>End</FONT><FONT size=2> </FONT><FONT color=#0000ff size=2>Sub</FONT></P><P><FONT size=2></FONT>&nbsp;</P><P><FONT color=#0000ff size=2><FONT color=#000000>However, although it worked in the VB app, it no fails on the FindItem line.</FONT></FONT></P><P><FONT color=#0000ff size=2><FONT color=#000000></FONT></FONT>&nbsp;</P><P><FONT color=#0000ff size=2><FONT color=#000000>Any help is appreciated.</FONT></FONT></P><P><FONT color=#0000ff size=2><FONT color=#000000></FONT></FONT>&nbsp;</P><P><FONT color=#0000ff size=2><FONT color=#000000>Tony (Inpressmedia)</FONT></P></FONT></FONT>]]>
   </description>
   <pubDate>Tue, 14 Mar 2006 14:43:01 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3775&amp;PID=11416&amp;title=urgent-treeview-nodes-in-shortcutbar#11416</guid>
  </item> 
 </channel>
</rss>