<?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 : Double click RibbonBar to minimize it!</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Double click RibbonBar to minimize it!]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 11 Jun 2026 17:26:40 +0000</pubDate>
  <lastBuildDate>Fri, 23 May 2008 11:02:09 +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=10746</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[Double click RibbonBar to minimize it! : thank u, oleg! u r so kind! ...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10746&amp;PID=35722&amp;title=double-click-ribbonbar-to-minimize-it#35722</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1897">shineryu</a><br /><strong>Subject:</strong> 10746<br /><strong>Posted:</strong> 23 May 2008 at 11:02am<br /><br /><DIV><img src="https://forum.codejock.com/smileys/smiley32.gif" border="0"></DIV>thank u, oleg!<DIV>u r so kind!</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 23 May 2008 11:02:09 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10746&amp;PID=35722&amp;title=double-click-ribbonbar-to-minimize-it#35722</guid>
  </item> 
  <item>
   <title><![CDATA[Double click RibbonBar to minimize it! : Hello, try instead DECLARE_DY...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10746&amp;PID=35714&amp;title=double-click-ribbonbar-to-minimize-it#35714</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 10746<br /><strong>Posted:</strong> 23 May 2008 at 9:57am<br /><br />Hello,<DIV>try instead DECLARE_DYNCREATE</DIV><DIV></DIV>use<DIV>&nbsp;</DIV><DIV>DECLATE_XTP_COMMANDBAR</DIV>]]>
   </description>
   <pubDate>Fri, 23 May 2008 09:57:18 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10746&amp;PID=35714&amp;title=double-click-ribbonbar-to-minimize-it#35714</guid>
  </item> 
  <item>
   <title><![CDATA[Double click RibbonBar to minimize it! : in &amp;#034;Ribbon Sample&amp;#034;,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10746&amp;PID=35708&amp;title=double-click-ribbonbar-to-minimize-it#35708</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1897">shineryu</a><br /><strong>Subject:</strong> 10746<br /><strong>Posted:</strong> 23 May 2008 at 8:29am<br /><br /><DIV>in "Ribbon Sample", I add the class:</DIV><DIV>&nbsp;</DIV><DIV>class CSmartRibbonBar : public CXTPRibbonBar<BR>{<BR>&nbsp;DECLARE_DYNCREATE(CSmartRibbonBar)<BR>public:<BR>&nbsp;CSmartRibbonBar(){}<BR>&nbsp;virtual ~CSmartRibbonBar(){}</DIV><DIV>&nbsp;DECLARE_MESSAGE_MAP()<BR>&nbsp;afx_msg void OnLButtonDblClk(UINT nFlags, CPoint point);<BR>};</DIV><DIV>IMPLEMENT_DYNCREATE(CSmartRibbonBar, CXTPRibbonBar)</DIV><DIV>BEGIN_MESSAGE_MAP(CSmartRibbonBar, CXTPRibbonBar)<BR>&nbsp;ON_WM_LBUTTONDBLCLK()<BR>END_MESSAGE_MAP()</DIV><DIV>void CSmartRibbonBar::OnLButtonDblClk(UINT nFlags, CPoint point)<BR>{<BR>&nbsp;SetRibbonMinimized(!IsRibbonMinimized());<BR>&nbsp;CXTPRibbonBar::OnLButtonDblClk(nFlags, point);<BR>}</DIV><DIV>&nbsp;</DIV><DIV>and modified the code:</DIV><DIV>BOOL CMainFrame::CreateRibbonBar()<BR>{</DIV><DIV>&nbsp;&nbsp;&nbsp; //......</DIV><DIV>&nbsp;<FONT color=#ff0000>CSmartRibbonBar</FONT>* pRibbonBar = (<FONT color=#ff0000>CSmartRibbonBar</FONT>*)pCommandBars-&gt;Add(_T("The Ribbon"), xtpBarTop, RUNTIME_CLASS(<FONT color=#ff0000>CSmartRibbonBar</FONT>));<BR>&nbsp;&nbsp;&nbsp; //......</DIV><DIV>}</DIV><DIV>&nbsp;</DIV><DIV>Ribbonbar is&nbsp;minimized very well, but when i try to close "RibbonSample",a messagebox is shown:</DIV><DIV><FONT color=#ff0000><strong>An unsupported operation was attempted.</strong></FONT></DIV><DIV>&nbsp;</DIV><DIV>and i can't close the application!</DIV>]]>
   </description>
   <pubDate>Fri, 23 May 2008 08:29:49 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10746&amp;PID=35708&amp;title=double-click-ribbonbar-to-minimize-it#35708</guid>
  </item> 
  <item>
   <title><![CDATA[Double click RibbonBar to minimize it! : Hi, Show all code you tried. ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10746&amp;PID=35625&amp;title=double-click-ribbonbar-to-minimize-it#35625</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 10746<br /><strong>Posted:</strong> 22 May 2008 at 10:55am<br /><br />Hi,<DIV>Show all code you tried.</DIV>]]>
   </description>
   <pubDate>Thu, 22 May 2008 10:55:14 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10746&amp;PID=35625&amp;title=double-click-ribbonbar-to-minimize-it#35625</guid>
  </item> 
  <item>
   <title><![CDATA[Double click RibbonBar to minimize it! : I find this:    and I also...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10746&amp;PID=35624&amp;title=double-click-ribbonbar-to-minimize-it#35624</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1897">shineryu</a><br /><strong>Subject:</strong> 10746<br /><strong>Posted:</strong> 22 May 2008 at 10:43am<br /><br />I find this:<DIV>&nbsp;</DIV><DIV><img src="https://forum.codejock.com/uploads/20080522_104014_2008-05-22_2233.png" border="0"></DIV><DIV>&nbsp;</DIV><DIV>and I also want this:</DIV><DIV>&nbsp;</DIV><DIV><img src="https://forum.codejock.com/uploads/20080522_104114_2008-05-22_2236.png" border="0"></DIV><DIV>&nbsp;</DIV><DIV>I derived a class from CXTPRibbonBar and Catch the WM_LBUTTONDBCLICK message, but it doesn't work well.</DIV><DIV>so, how to catch WM_LBUTTONDBCLICK message on ribbonbar?</DIV>]]>
   </description>
   <pubDate>Thu, 22 May 2008 10:43:51 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10746&amp;PID=35624&amp;title=double-click-ribbonbar-to-minimize-it#35624</guid>
  </item> 
 </channel>
</rss>