<?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 : popup menue in GUI_VisualStudio7 Panes</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : popup menue in GUI_VisualStudio7 Panes]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 20 Apr 2026 12:41:39 +0000</pubDate>
  <lastBuildDate>Mon, 08 Nov 2004 12:19:35 +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=1369</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[popup menue in GUI_VisualStudio7 Panes : Try to use our Themed menus: BOOL...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1369&amp;PID=3907&amp;title=popup-menue-in-gui-visualstudio7-panes#3907</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 1369<br /><strong>Posted:</strong> 08 November 2004 at 12:19pm<br /><br /><P>Try to use our Themed menus:</P><P>BOOL CXTPComamndBars:TrackPopupMenu(CMenu* pMenu, UINT nFlags, int x, int y, CWnd* pWnd, LPCRECT rcExclude = NULL, CWnd* pWndOwner = NULL, CXTPCommandBars* pCommandBars = NULL);<BR></P>]]>
   </description>
   <pubDate>Mon, 08 Nov 2004 12:19:35 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1369&amp;PID=3907&amp;title=popup-menue-in-gui-visualstudio7-panes#3907</guid>
  </item> 
  <item>
   <title><![CDATA[popup menue in GUI_VisualStudio7 Panes : Still doesn&amp;#039;t work. The meu...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1369&amp;PID=3870&amp;title=popup-menue-in-gui-visualstudio7-panes#3870</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=818">CJnewbie</a><br /><strong>Subject:</strong> 1369<br /><strong>Posted:</strong> 05 November 2004 at 12:07pm<br /><br />Still doesn't work.&nbsp; The meu appears but won't respond to a command route (OnTest). ]]>
   </description>
   <pubDate>Fri, 05 Nov 2004 12:07:50 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1369&amp;PID=3870&amp;title=popup-menue-in-gui-visualstudio7-panes#3870</guid>
  </item> 
  <item>
   <title><![CDATA[popup menue in GUI_VisualStudio7 Panes : hmm, try comment your while (...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1369&amp;PID=3868&amp;title=popup-menue-in-gui-visualstudio7-panes#3868</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 1369<br /><strong>Posted:</strong> 05 November 2004 at 10:49am<br /><br /><P>hmm, try comment your</P><P><FONT color=#0000ff>while</FONT> (pWndPopupOwner-&gt;GetStyle() &amp; WS_CHILD)</P><P>pWndPopupOwner = pWndPopupOwner-&gt;GetParent();</P>]]>
   </description>
   <pubDate>Fri, 05 Nov 2004 10:49:10 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1369&amp;PID=3868&amp;title=popup-menue-in-gui-visualstudio7-panes#3868</guid>
  </item> 
  <item>
   <title><![CDATA[popup menue in GUI_VisualStudio7 Panes : Oleg, thanks for your quick response. I...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1369&amp;PID=3860&amp;title=popup-menue-in-gui-visualstudio7-panes#3860</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=818">CJnewbie</a><br /><strong>Subject:</strong> 1369<br /><strong>Posted:</strong> 05 November 2004 at 8:00am<br /><br /><P>Oleg, thanks for your quick response.&nbsp;</P><P>&nbsp;I think my post wasn't clear.&nbsp; The right-click popup menu I need is in the tree area.&nbsp; Here is what I got so far ( picking up from some of the posts), but still not there yet.&nbsp; </P><P>I derived CMatTreeCtrl from CXTTreeCtrl and used it in place of CXTTreeCtrl in mainframe (of GUI-visual 7).&nbsp; In CMatTreeCtrl, I have:</P><P><FONT color=#0000ff>void</FONT> CMatTreeCtrl::OnNMRclick(NMHDR *pNMHDR, LRESULT *pResult)</P><P>{</P><P>CPoint point;</P><P>GetCursorPos(&amp;point);</P><P>CMenu menu;</P><P>VERIFY(menu.LoadMenu(IDR_POPUP_MATTREE));</P><P></P><P>CMenu* pPopup = menu.GetSubMenu(0);</P><P>ASSERT(pPopup != NULL);</P><P>CWnd* pWndPopupOwner = <FONT color=#0000ff>this</FONT>;</P><P></P><P><FONT color=#0000ff>while</FONT> (pWndPopupOwner-&gt;GetStyle() &amp; WS_CHILD)</P><P>pWndPopupOwner = pWndPopupOwner-&gt;GetParent();</P><P></P><P>pPopup-&gt;TrackPopupMenu(TPM_LEFTALIGN | TPM_RIGHTBUTTON, point.x, point.y,</P><P>pWndPopupOwner);</P><P>*pResult = 0;</P><P>}</P><P>When I right-click the tree control area, the popup menu (IDR_POPUP_MATTREE) appears, BUT I CAN'T ROUTE ANY COMMAND SUCH AS:</P><P>void CMatTreeCtrl:OnTest()</P><P>{</P><P>AfxMessageBox("Clicked");</P><P>}</P><P>where Test is an item on the menu (ID_TEST)</P><P>Any more helps are appreciated. Thanks</P><P>&nbsp;</P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Fri, 05 Nov 2004 08:00:47 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1369&amp;PID=3860&amp;title=popup-menue-in-gui-visualstudio7-panes#3860</guid>
  </item> 
  <item>
   <title><![CDATA[popup menue in GUI_VisualStudio7 Panes : See Advanced Sample:  VERIFY(...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1369&amp;PID=3847&amp;title=popup-menue-in-gui-visualstudio7-panes#3847</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 1369<br /><strong>Posted:</strong> 05 November 2004 at 1:30am<br /><br /><P>See Advanced Sample:</P><P> &nbsp;VERIFY(m_wndToolBar.CreateToolBar(WS_VISIBLE|WS_CHILD| CBRS_TOOLTIPS, this));<BR>&nbsp;VERIFY(m_wndToolBar.LoadToolBar(IDR_TOOLBAR_HEROES));<BR>&nbsp;<BR> &nbsp;m_wndToolBar.GetControls()-&gt;Remove(m_wndToolBar.Get Control(0));<BR>&nbsp;CXTPControl* pControl = m_wndToolBar.GetControls()-&gt;Add(xtpControlButtonPopup, IDR_HEROES_FAMILY, _T(""), 0);<BR></P>]]>
   </description>
   <pubDate>Fri, 05 Nov 2004 01:30:46 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1369&amp;PID=3847&amp;title=popup-menue-in-gui-visualstudio7-panes#3847</guid>
  </item> 
  <item>
   <title><![CDATA[popup menue in GUI_VisualStudio7 Panes :  I need to add a POPUP MENU to...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1369&amp;PID=3840&amp;title=popup-menue-in-gui-visualstudio7-panes#3840</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=818">CJnewbie</a><br /><strong>Subject:</strong> 1369<br /><strong>Posted:</strong> 04 November 2004 at 9:04pm<br /><br /><P><IMG src="https://forum.codejock.com/smileys/smiley25.gif" border="0"></P><P>I need to add a POPUP MENU to the panes (like ClassView,..) in a similar GUI_visualstudio 7. Can anyone please help me or direct me the right place for info.&nbsp; Thanks in advance.</P>]]>
   </description>
   <pubDate>Thu, 04 Nov 2004 21:04:26 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1369&amp;PID=3840&amp;title=popup-menue-in-gui-visualstudio7-panes#3840</guid>
  </item> 
 </channel>
</rss>