<?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 gets disabled in Ribbonbar...</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Menu gets disabled in Ribbonbar...]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 11 Jun 2026 07:24:45 +0000</pubDate>
  <lastBuildDate>Fri, 04 Jul 2008 02:56:56 +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=11304</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 gets disabled in Ribbonbar... : hello oleg i have done event...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11304&amp;PID=37816&amp;title=menu-gets-disabled-in-ribbonbar#37816</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4284">Pariksh*t</a><br /><strong>Subject:</strong> 11304<br /><strong>Posted:</strong> 04 July 2008 at 2:56am<br /><br /><P>hello oleg</P><P>i have done event handling </P><P>&nbsp;</P><P><a href="http://192.168.40.16/pxlsoft/download/products/Testing/Temp/dfs.zip" target="_blank">http://192.168.40.16/pxlsoft/download/products/Testing/Temp/dfs.zip</A></P><DIV>&nbsp;</DIV><P><a href="http://192.168.40.16/pxlsoft/download/products/Testing/email.zip" target="_blank">http://192.168.40.16/pxlsoft/download/products/Testing/email.zip</A></P><DIV></DIV><P>These is my code</P><DIV>plz Reply</DIV><DIV>Bye</DIV><DIV></DIV>]]>
   </description>
   <pubDate>Fri, 04 Jul 2008 02:56:56 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11304&amp;PID=37816&amp;title=menu-gets-disabled-in-ribbonbar#37816</guid>
  </item> 
  <item>
   <title><![CDATA[Menu gets disabled in Ribbonbar... : Hi,  You need add ON_COMMAND...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11304&amp;PID=37806&amp;title=menu-gets-disabled-in-ribbonbar#37806</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 11304<br /><strong>Posted:</strong> 04 July 2008 at 1:25am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>You need add ON_COMMAND handler for menu items.</DIV>]]>
   </description>
   <pubDate>Fri, 04 Jul 2008 01:25:35 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11304&amp;PID=37806&amp;title=menu-gets-disabled-in-ribbonbar#37806</guid>
  </item> 
  <item>
   <title><![CDATA[Menu gets disabled in Ribbonbar... : hello, this is Pariksh*t.  i...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11304&amp;PID=37802&amp;title=menu-gets-disabled-in-ribbonbar#37802</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4284">Pariksh*t</a><br /><strong>Subject:</strong> 11304<br /><strong>Posted:</strong> 04 July 2008 at 1:00am<br /><br />hello,<DIV>this is Pariksh*t.</DIV><DIV>&nbsp;</DIV><DIV>i am implementing ribbonbar</DIV><DIV>i have one button and and one menu in ribbons group</DIV><DIV>when i click on button my menu gets disabled</DIV><DIV>what is the reason and what i am supposed to do?</DIV><DIV>&nbsp;</DIV><DIV>The code snippet is given below for reference - </DIV><DIV>&nbsp;</DIV><DIV><FONT color=#008000 size=1><P>//'/Button 'Photo'.</P></FONT><P><FONT size=1>CXTPControlButton* pCollectionPhoto = (CXTPControlButton*)pGroup-&gt;Add(xtpControlButton, IDC_PHOTO);</FONT></P><P><FONT size=1>pCollectionPhoto-&gt;SetWidth(125);</FONT></P><P><FONT size=1>pCollectionPhoto-&gt;SetStyle(xtpButtonIcon);</FONT></P><P><FONT size=1>UINT uiGroupClipboardphoto&#091;&#093; = {IDC_PHOTO};</FONT></P><P><FONT size=1>pCommandBars-&gt;GetImageManager()-&gt;SetIcons(IDR_SMALLICONS, uiGroupClipboardphoto, _countof(uiGroupClipboardphoto), CSize(16, 16));</FONT></P><P><FONT color=#008000><FONT size=1>//'/Button 'Photo' end.</FONT></P></FONT><P><FONT color=#008000><FONT size=1>//'/Mneu For Photo Button (Collection).</FONT></P></FONT><P><FONT size=1>CXTPControlButton* p = (CXTPControlButton*)pGroup-&gt;Add(xtpControlPopup, IDR_MENU2);</FONT></P><P><FONT size=1>CXTPControlPopup* pControlPhotoMenu = (CXTPControlPopup*)pRibbonBar-&gt;GetControls()-&gt;Add(xtpControlPopup, -1);</FONT></P><P><FONT size=1>CMenu mnuPhotoCollection;</FONT></P><P><FONT size=1>mnuPhotoCollection.LoadMenu(IDR_MENU2);</FONT></P><P><FONT size=1>pControlPhotoMenu-&gt;SetCommandBar(mnuPhotoCollection.GetSubMenu(0));</FONT></P><P><FONT size=1>pControlPhotoMenu-&gt;SetCaption(_T("Foto Finish"));</FONT></P><P><FONT color=#008000><FONT size=1>//'/Mneu For Photo Button (Collection) end.</FONT></P></FONT></DIV><DIV>&nbsp;</DIV><DIV>Regards,</DIV><DIV>Pariksh*t.</DIV>]]>
   </description>
   <pubDate>Fri, 04 Jul 2008 01:00:07 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11304&amp;PID=37802&amp;title=menu-gets-disabled-in-ribbonbar#37802</guid>
  </item> 
 </channel>
</rss>