<?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 : CXTPC&#111;ntrolPopup menus</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : CXTPC&#111;ntrolPopup menus]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 20:12:42 +0000</pubDate>
  <lastBuildDate>Mon, 20 Jun 2005 05:46:22 +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=2400</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[CXTPC&#111;ntrolPopup menus : Oh, of course... Thanks a lot,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2400&amp;PID=7155&amp;title=cxtpcontrolpopup-menus#7155</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=779">andy_t</a><br /><strong>Subject:</strong> 2400<br /><strong>Posted:</strong> 20 June 2005 at 5:46am<br /><br /><P>Oh, of course...</P><P>Thanks a lot, that solved it!</P><P>,Andy</P>]]>
   </description>
   <pubDate>Mon, 20 Jun 2005 05:46:22 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2400&amp;PID=7155&amp;title=cxtpcontrolpopup-menus#7155</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPC&#111;ntrolPopup menus : call it only if bPopup == TRUE...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2400&amp;PID=7132&amp;title=cxtpcontrolpopup-menus#7132</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 2400<br /><strong>Posted:</strong> 17 June 2005 at 7:16am<br /><br />call it only if bPopup == TRUE]]>
   </description>
   <pubDate>Fri, 17 Jun 2005 07:16:43 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2400&amp;PID=7132&amp;title=cxtpcontrolpopup-menus#7132</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPC&#111;ntrolPopup menus : Hi there, I have a toolbar where...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2400&amp;PID=7128&amp;title=cxtpcontrolpopup-menus#7128</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=779">andy_t</a><br /><strong>Subject:</strong> 2400<br /><strong>Posted:</strong> 17 June 2005 at 5:51am<br /><br /><P>Hi there,</P><P>I have a toolbar where I need dynamic CXTPControlPopup menus, so I went ahead and inherited from CXTPControlPopup and overrode OnSetPopup so that I could give it a new menu every time it's clicked:</P><P>BOOL CMyControlPopup::OnSetPopup(BOOL bPopup)<BR>{<BR>&nbsp; CMenu menu;<BR>&nbsp; menu.LoadMenu(ID_MENU);</P><P>&nbsp; /* Modify menu */&nbsp; </P><P>&nbsp; // m_pCommandBar = NULL;</P><P>&nbsp; SetCommandBar(menu.GetSubMenu(0));</P><P>&nbsp; return CXTPControlPopup::OnSetPopup(bPopup);<BR>}</P><P>1. This will show my new menu perfectly, but strange things happen when I select some of the menu items (it seems confused about the menu IDs).&nbsp; Plus there's some strange flickering going on).&nbsp; </P><P>2. If I uncomment the&nbsp;"m_pCommandBar = NULL;" statement things work much better, so there might be a bug in the LoadMenu call of CXTPControls or somewhere which is not cleaning out the menu correctly...</P><P>3. Even with the fix in 2., the menu&nbsp;usually stays up after a menu item is clicked:( Anyone know how to fix this?</P><P>Using XT Pro v9.60</P><P>cheers!<FONT size=2></P></FONT><P>&nbsp;</P>]]>
   </description>
   <pubDate>Fri, 17 Jun 2005 05:51:48 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2400&amp;PID=7128&amp;title=cxtpcontrolpopup-menus#7128</guid>
  </item> 
 </channel>
</rss>