<?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 : Problem with Ribbon Controls ?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Problem with Ribbon Controls ?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 04 Apr 2026 06:53:35 +0000</pubDate>
  <lastBuildDate>Sun, 15 Apr 2007 09:40:38 +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=6860</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[Problem with Ribbon Controls ? : Hi,  Thank you very much!  It...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6860&amp;PID=21969&amp;title=problem-with-ribbon-controls#21969</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2905">OpelAstra92</a><br /><strong>Subject:</strong> 6860<br /><strong>Posted:</strong> 15 April 2007 at 9:40am<br /><br /><DIV>Hi,</DIV><DIV>&nbsp;</DIV><DIV>Thank you very much!</DIV><DIV>&nbsp;</DIV><DIV>It works fine now!</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Regards,</DIV><DIV>&nbsp;</DIV><DIV>Tihomir Ivanov</DIV>]]>
   </description>
   <pubDate>Sun, 15 Apr 2007 09:40:38 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6860&amp;PID=21969&amp;title=problem-with-ribbon-controls#21969</guid>
  </item> 
  <item>
   <title><![CDATA[Problem with Ribbon Controls ? : Hi,  1. in \res\DlgRbn.rc2 add #include...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6860&amp;PID=21965&amp;title=problem-with-ribbon-controls#21965</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 6860<br /><strong>Posted:</strong> 15 April 2007 at 9:08am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>1. in \res\DlgRbn.rc2&nbsp; add</DIV><DIV>#include "Ribbon\Styles\Office2007Blue\Office2007Blue.rc"<BR>and can remove&nbsp;#include &lt;XTToolkitPro.rc&gt; (for static only)</DIV><DIV>&nbsp;</DIV><DIV>2. in DlgRbnDlg.cpp add</DIV><DIV>&nbsp;</DIV><DIV>...</DIV><DIV>&nbsp;ON_WM_SIZE()<BR>...</DIV><DIV>&nbsp;</DIV><DIV>void CDlgRbnDlg::OnSize(UINT nType, int cx, int cy)<BR>{<BR>&nbsp;CDialog::OnSize(nType, cx, cy);<BR>&nbsp;RepositionBars(AFX_IDW_CONTROLBAR_FIRST, AFX_IDW_CONTROLBAR_LAST, 0);<BR>}<BR></DIV>]]>
   </description>
   <pubDate>Sun, 15 Apr 2007 09:08:26 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6860&amp;PID=21965&amp;title=problem-with-ribbon-controls#21965</guid>
  </item> 
  <item>
   <title><![CDATA[Problem with Ribbon Controls ? :  uploads/20070415_042211_DlgRbn.zip   Here...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6860&amp;PID=21962&amp;title=problem-with-ribbon-controls#21962</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2905">OpelAstra92</a><br /><strong>Subject:</strong> 6860<br /><strong>Posted:</strong> 15 April 2007 at 4:25am<br /><br /><a href="http://forum.codejock.com/uploads/20070415_042211_DlgRbn.zip" target="_blank"><DIV>uploads/20070415_042211_DlgRbn.zip</A></DIV><DIV>&nbsp;</DIV><DIV><DIV>Here is the source code of the dialog app with ribbons,</DIV><DIV>I've created SDI app, copied the same code for creating the ribbons controls and it works, but in the dialog app there aren't any ribbons</DIV></DIV><DIV>&nbsp;</DIV><DIV>Thanks in advance for any help.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Regards,</DIV>]]>
   </description>
   <pubDate>Sun, 15 Apr 2007 04:25:42 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6860&amp;PID=21962&amp;title=problem-with-ribbon-controls#21962</guid>
  </item> 
  <item>
   <title><![CDATA[Problem with Ribbon Controls ? : Hi, thanks for replay.  I&amp;#039;ve...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6860&amp;PID=21953&amp;title=problem-with-ribbon-controls#21953</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2905">OpelAstra92</a><br /><strong>Subject:</strong> 6860<br /><strong>Posted:</strong> 14 April 2007 at 8:41am<br /><br /><DIV>Hi, thanks for replay.</DIV><DIV>&nbsp;</DIV><DIV>I've created dialog app</DIV><FONT color=#0000ff><P><FONT size=2>class</FONT></FONT><FONT size=2> CDlg_RbnDlg : <FONT color=#0000ff>public</FONT> CXTPDialogBase&lt;CDialog&gt;</FONT></P><DIV><FONT size=2></FONT></DIV><DIV><FONT size=2>... </FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>in OnCreate</FONT></DIV><FONT color=#0000ff><P><FONT size=2>if</FONT></FONT><FONT size=2> (CXTPDialogBase&lt;CDialog&gt;::OnCreate(lpCreateStruct) == -1)</FONT></P><P><FONT size=2><FONT color=#0000ff>return</FONT> -1;</FONT></P><DIV><FONT size=2></FONT></DIV><DIV><FONT size=2>....</FONT></DIV><FONT color=#0000ff><P><FONT size=2>if</FONT></FONT><FONT size=2> (!InitCommandBars())</FONT></P><P><FONT size=2><FONT color=#0000ff>return</FONT> -1;</FONT></P><P><FONT size=2>CXTPCommandBars* pCommandBars = GetCommandBars();</FONT></P><P><FONT size=2>pCommandBars-&gt;SetPaintManager(<FONT color=#0000ff>new</FONT> CXTPRibbonTheme());</FONT></P><DIV><FONT size=2></FONT></DIV><DIV><FONT size=2>....</FONT></DIV><FONT color=#0000ff><P><FONT size=2>if</FONT></FONT><FONT size=2> (!CreateRibbonBar())</FONT></P><DIV><FONT size=2></FONT></DIV><P><FONT size=2>{</FONT></P><P><FONT size=2>TRACE0(<FONT color=#800000>"Failed to create ribbon\n"</FONT>);</FONT></P><P><FONT size=2><FONT color=#0000ff>return</FONT> -1;</FONT></P><P><FONT size=2>}</FONT></P><P><FONT size=2>CreateRibbonBar is same as the example of the ribbon project</FONT></P><DIV><FONT size=2></FONT></DIV><FONT size=2>also, all resource I've copied from the example of the ribbon project in my project.<DIV></DIV><DIV></DIV></FONT><DIV></DIV><DIV><FONT size=2></FONT></DIV><DIV><FONT size=2></FONT></DIV><DIV><FONT size=2></FONT></DIV><DIV><FONT size=2>Everyting was compiled fine but when I run it there are no any ribbons, only dialog app. Have you any idea where's the problem ?</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>Regards,</FONT></DIV><DIV><FONT size=2>Tihomir Ivanov</FONT></DIV>]]>
   </description>
   <pubDate>Sat, 14 Apr 2007 08:41:46 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6860&amp;PID=21953&amp;title=problem-with-ribbon-controls#21953</guid>
  </item> 
  <item>
   <title><![CDATA[Problem with Ribbon Controls ? : Yes, start from DialogSample...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6860&amp;PID=21915&amp;title=problem-with-ribbon-controls#21915</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 6860<br /><strong>Posted:</strong> 13 April 2007 at 9:31am<br /><br />Yes,<DIV>&nbsp;start from DialogSample and copy code where you create Ribbon.</DIV>]]>
   </description>
   <pubDate>Fri, 13 Apr 2007 09:31:30 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6860&amp;PID=21915&amp;title=problem-with-ribbon-controls#21915</guid>
  </item> 
  <item>
   <title><![CDATA[Problem with Ribbon Controls ? : Hello,  Can I use Ribbon Controls...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6860&amp;PID=21914&amp;title=problem-with-ribbon-controls#21914</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2905">OpelAstra92</a><br /><strong>Subject:</strong> 6860<br /><strong>Posted:</strong> 13 April 2007 at 9:15am<br /><br />Hello,<DIV>&nbsp;</DIV><DIV>&nbsp;Can I use Ribbon Controls in Dialog Application, not MDI ?</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Regards,</DIV>]]>
   </description>
   <pubDate>Fri, 13 Apr 2007 09:15:53 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6860&amp;PID=21914&amp;title=problem-with-ribbon-controls#21914</guid>
  </item> 
 </channel>
</rss>