<?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 : xtpC&#111;ntrolSplitButt&#111;nPopup For Menu?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : xtpC&#111;ntrolSplitButt&#111;nPopup For Menu?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 31 May 2026 03:56:54 +0000</pubDate>
  <lastBuildDate>Mon, 12 Jun 2006 08:50:20 +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=4373</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[xtpC&#111;ntrolSplitButt&#111;nPopup For Menu? : Hi, Actually it is designed behaviour....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4373&amp;PID=13586&amp;title=xtpcontrolsplitbuttonpopup-for-menu#13586</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 4373<br /><strong>Posted:</strong> 12 June 2006 at 8:50am<br /><br /><P>Hi,</P><P>Actually it is designed behaviour. Same you can see if you drag split button&nbsp;to menu in Office/Visual Studio .</P>]]>
   </description>
   <pubDate>Mon, 12 Jun 2006 08:50:20 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4373&amp;PID=13586&amp;title=xtpcontrolsplitbuttonpopup-for-menu#13586</guid>
  </item> 
  <item>
   <title><![CDATA[xtpC&#111;ntrolSplitButt&#111;nPopup For Menu? :   Hi,  I have successfully...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4373&amp;PID=13510&amp;title=xtpcontrolsplitbuttonpopup-for-menu#13510</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1424">g_j_a_i_n</a><br /><strong>Subject:</strong> 4373<br /><strong>Posted:</strong> 08 June 2006 at 3:00am<br /><br /><br>Hi,<br><br>I have successfully created a split button inside a menu (instead of toolbar) using the following code<br><br><table width="99%"><tr><td><pre class="BBcode"><br>.<br>.<br>CXTPCommandBars::TrackPopupMenu(pSubMenu, TPM_LEFTALIGN |TPM_RIGHTBUTTON<br>&nbsp; , pntScreen.x, pntScreen.y, this, NULL);<br>.<br>.<br>.<br>.<br><br><br>int CMainFrame::OnCreateControl(LPCREATECONTROLSTRUCT lpCreateControl)<br>{<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if (lpCreateControl-&gt;nID == ID_MEMOBOARDSPANEL_NEWMEMOBOARD )<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;CXTPControlPopup* pFontControl  =CXTPControlPopup::CreateControlPopup(xtpControlSplitButto nPopup);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; .<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; .<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; .<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; .<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; lpCreateControl-&gt;pControl = pFontControl;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; return TRUE;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <br>}<br><br></pre></td></tr></table><br><br><br>The problem is that when the menu item is selected, the popup menu(CXTPControlPopup) automatically appears even without the arrow buttonbeing clicked.<br><br>What I am expecting is that:&nbsp; I should be able to select the menu itemseparately. And ONLY on clicking on the arrow in the menu item, the popup shouldappear. This is the behavior if the split button is created as part ofthe toolbar.<br><br>Please help. How do bring out this behavior<br><br>Regards,<br>Gautam Jain<br><br><br><br><br><br><br><br>]]>
   </description>
   <pubDate>Thu, 08 Jun 2006 03:00:02 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4373&amp;PID=13510&amp;title=xtpcontrolsplitbuttonpopup-for-menu#13510</guid>
  </item> 
 </channel>
</rss>