<?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 : Menu items in CXTPC&#111;ntrolPopup</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Menu items in CXTPC&#111;ntrolPopup]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 06 Apr 2026 21:39:06 +0000</pubDate>
  <lastBuildDate>Sun, 11 Dec 2005 23:26:32 +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=3387</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[Menu items in CXTPC&#111;ntrolPopup : instead  CXTPPopupToolBar* pColumnsBar...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3387&amp;PID=10164&amp;title=menu-items-in-cxtpcontrolpopup#10164</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 3387<br /><strong>Posted:</strong> 11 December 2005 at 11:26pm<br /><br /><P>instead </P><P>CXTPPopupToolBar* pColumnsBar = CXTPPopupToolBar::CreatePopupToolBar use </P><P>CXTPPopupBar* pColumnsBar = CXTPPopupBar::CreatePopupBar.</P>]]>
   </description>
   <pubDate>Sun, 11 Dec 2005 23:26:32 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3387&amp;PID=10164&amp;title=menu-items-in-cxtpcontrolpopup#10164</guid>
  </item> 
  <item>
   <title><![CDATA[Menu items in CXTPC&#111;ntrolPopup : Hi, I am trying to insert a dynamic...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3387&amp;PID=10160&amp;title=menu-items-in-cxtpcontrolpopup#10160</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=389">yoavo</a><br /><strong>Subject:</strong> 3387<br /><strong>Posted:</strong> 11 December 2005 at 10:28am<br /><br /><P>Hi,</P><P>I am trying to insert a dynamic menu to a CXTPControlPopup (with xtpControlSplitPopup style). In all the examples of Xtreme, I saw that the menu that attached to the control is taken from resources. I want to add my menu items one by one.</P><P>I tried to do it, but I could achieve only a toolbar that is being displayed when pressing the right side of the popup control (I need it as a menu).</P><P>This is my code: </P><FONT size=2><P></FONT><FONT color=#0000ff size=2>if</FONT><FONT size=2> (lpCreateControl-&gt;nID == ID_BUTTON320)</P><P>{</P><P>CXTPControlPopup* pButtonColumns =  CXTPControlPopup::CreateControlPopup(xtpControlSplitButtonPo pup);</P><P>pButtonColumns-&gt;SetFlags(xtpFlagManualUpdate);</P><P>CXTPPopupToolBar* pColumnsBar = CXTPPopupToolBar::CreatePopupToolBar(GetCommandBars());</P></FONT><FONT size=2><P>pColumnsBar-&gt;SetBorders(CRect(2, 2, 2, 2));</P><P>pColumnsBar-&gt;DisableShadow();</P><P>pColumnsBar-&gt;GetControls()-&gt;Add(xtpControlButton, ID_FILE_NEW);</P></FONT><FONT size=2><P>pColumnsBar-&gt;GetControls()-&gt;Add(xtpControlButton, ID_FILE_OPEN);</P><P></FONT><FONT size=2>pColumnsBar-&gt;GetControls()-&gt;Add(xtpControlButton, ID_EDIT_CUT);</P></FONT><FONT size=2><P>pButtonColumns-&gt;SetCommandBar(pColumnsBar);</P><P>pColumnsBar-&gt;InternalRelease();</P><P>lpCreateControl-&gt;pControl = pButtonColumns;</P><P></FONT><FONT color=#0000ff size=2>return</FONT><FONT size=2> TRUE;</P><P>}</P></FONT>]]>
   </description>
   <pubDate>Sun, 11 Dec 2005 10:28:30 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3387&amp;PID=10160&amp;title=menu-items-in-cxtpcontrolpopup#10160</guid>
  </item> 
 </channel>
</rss>