<?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 : How can I change menu position?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : How can I change menu position?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 28 May 2026 11:57:24 +0000</pubDate>
  <lastBuildDate>Tue, 06 Oct 2009 05:02:30 +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=15300</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[How can I change menu position? : I made a toolbar , each toolbar...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15300&amp;PID=53646&amp;title=how-can-i-change-menu-position#53646</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5582">peony7</a><br /><strong>Subject:</strong> 15300<br /><strong>Posted:</strong> 06 October 2009 at 5:02am<br /><br /><DIV>I made a toolbar , each toolbar button has a menu. I coded as follows.</DIV><DIV>&nbsp;</DIV><DIV>but I have a problem.&nbsp;I would like to change the menu position like a TrackPopupMenu() function. Is there any method?</DIV><DIV>&nbsp;</DIV><DIV>First time, I used TrackPopupMenu() function. But I couldn't use customize mode at the case.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>int CMainFrame::OnCreateControl(LPCREATECONTROLSTRUCT lpCreateControl)<BR>{<BR>&nbsp;&nbsp;if (lpCreateControl-&gt;nID == ID_OPERATION)<BR>&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;CXTPControlPopup* pButton = CXTPControlPopup::CreateControlPopup(xtpControlButtonPopup);<BR>&nbsp;&nbsp;&nbsp;pButton-&gt;SetStyle(xtpButtonIcon);<BR>&nbsp;&nbsp;&nbsp;pButton-&gt;SetFlags(xtpFlagManualUpdate);</DIV><P>&nbsp;&nbsp;&nbsp;CXTPPopupBar* pPopupBar = CXTPPopupBar::CreatePopupBar(GetCommandBars());<BR>&nbsp;&nbsp;&nbsp;CMenu menu;<BR>&nbsp;&nbsp;&nbsp;menu.LoadMenu(IDR_MAIN_MENU);<BR>&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;pPopupBar-&gt;LoadMenu(menu.GetSubMenu(1));<BR>&nbsp;&nbsp;&nbsp;pButton-&gt;SetCommandBar(pPopupBar);<BR>&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;pPopupBar-&gt;InternalRelease();</P><DIV></DIV><DIV></DIV><DIV></DIV><DIV>&nbsp;&nbsp;&nbsp;lpCreateControl-&gt;pControl = pButton;<BR>&nbsp;&nbsp;&nbsp;return TRUE;<BR>&nbsp;&nbsp;}</DIV><DIV>&nbsp; return FALSE;</DIV><DIV>}<BR></DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Tue, 06 Oct 2009 05:02:30 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15300&amp;PID=53646&amp;title=how-can-i-change-menu-position#53646</guid>
  </item> 
 </channel>
</rss>