<?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 : [solved] Problem with ribbon bar background</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : [solved] Problem with ribbon bar background]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 04:32:11 +0000</pubDate>
  <lastBuildDate>Tue, 08 May 2018 14:11:44 +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=23527</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[[solved] Problem with ribbon bar background : Bugs withShowCaptionAlways(FALSE)...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23527&amp;PID=76789&amp;title=solved-problem-with-ribbon-bar-background#76789</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8730">olebed</a><br /><strong>Subject:</strong> 23527<br /><strong>Posted:</strong> 08 May 2018 at 2:11pm<br /><br />Bugs with&nbsp;&nbsp;<span style=": rgb248, 248, 252;"><b>ShowCaptionAlways(FALSE) </b>also have been fixed.<br>Fix will be available soon in v18.4</span>]]>
   </description>
   <pubDate>Tue, 08 May 2018 14:11:44 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23527&amp;PID=76789&amp;title=solved-problem-with-ribbon-bar-background#76789</guid>
  </item> 
  <item>
   <title><![CDATA[[solved] Problem with ribbon bar background : Hello,Thank you for bringing this...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23527&amp;PID=76783&amp;title=solved-problem-with-ribbon-bar-background#76783</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8730">olebed</a><br /><strong>Subject:</strong> 23527<br /><strong>Posted:</strong> 07 May 2018 at 2:25pm<br /><br /><div>Hello,</div><div><br></div><div>Thank you for bringing this to our attention.</div><div>I found reason of problems with using pRibbonBar-&gt;<b>SetTabsVisible(FALSE)</b></div><div>in file Source\Ribbon\Themes\XTPRibbonThemeOffice2013.cpp</div><div><table width="99%"><tr><td><pre class="BBcode">void CXTPRibbonOffice2013Theme::FillRibbonBar(CDC *pDC, CXTPRibbonBar *pRibbonBar)</div><div>{</div><div>.......</div><div>&nbsp; &nbsp; else</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp;<b><font color="#00cc00"> if (pRibbonBar-&gt;IsTabsVisible())</font></b></div><div><b><font color="#00cc00">&nbsp; &nbsp; &nbsp; &nbsp; {</font></b></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; pDC-&gt;FillSolidRect(rcTabs, pRibbonBar-&gt;IsActive() ? m_clrRibbonInactiveFace : m_clrRibbonInactiveFaceState);</div><div>&nbsp; &nbsp; &nbsp; &nbsp;<b><font color="#00cc00"> }</font></b></div><div><b><font color="#00cc00">&nbsp; &nbsp; &nbsp; &nbsp; else</font></b></div><div><b><font color="#00cc00">&nbsp; &nbsp; &nbsp; &nbsp; {</font></b></div><div><b><font color="#00cc00">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; rcTabs.bottom -= m_nTabsHeight + XTP_DPI_Y(1);</font></b></div><div><b><font color="#00cc00">&nbsp; &nbsp; &nbsp; &nbsp; }</font></b></div><div>&nbsp; &nbsp; }</div><div>.......</div><div>}<br><br>void CXTPRibbonOffice2013Theme::DrawBackImage(CDC *pDC, CXTPRibbonBar *pRibbonBar)</div><div>{</div><div>.......&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; <b><font color="#00cc00">if (pRibbonBar-&gt;IsTabsVisible())</font></b></div><div><b><font color="#00cc00">&nbsp; &nbsp; &nbsp; &nbsp; {</font></b></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; rcClient.bottom += m_nTabsHeight + XTP_DPI_Y(1);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; <b><font color="#00cc00">}</font></b></div><div>.......</div><div>}</pre></td></tr></table></div><div><br></div><div>Regards,</div><div>&nbsp;Oleksandr Lebed</div>]]>
   </description>
   <pubDate>Mon, 07 May 2018 14:25:05 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23527&amp;PID=76783&amp;title=solved-problem-with-ribbon-bar-background#76783</guid>
  </item> 
  <item>
   <title><![CDATA[[solved] Problem with ribbon bar background : Hi,I&amp;#039;m facing the same issue.Actually...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23527&amp;PID=76749&amp;title=solved-problem-with-ribbon-bar-background#76749</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=7559">fleg</a><br /><strong>Subject:</strong> 23527<br /><strong>Posted:</strong> 16 April 2018 at 5:57am<br /><br />Hi,<br><br>I'm facing the same issue.<br>Actually it seems the problem was partially fixed by updgrading to version 18.3.<br><br>In version 18.2, I had something like this<br><img src="uploads/7559/ribb&#111;n_background_18.2.png" height="103" width="97" border="0" /><br>with version 18.3 it is better, but the top of ribbon is still darker<br><img src="uploads/7559/ribb&#111;n_background.png" height="103" width="108" border="0" /><br><br>I realized this problem happen when there is no tab in ribbon bar.<br>When tab is visible, the color are correct.<br><img src="uploads/7559/ribb&#111;n_background_with_tab.png" height="124" width="173" border="0" /><br>the darker gray seems to be the color used for the tab zone.<br><br>This happen with Office 2015/2016 theme. Using Old Office 2007 theme, there is no such problem.<br><br>I'm not expecting to have a new version 18.4, but if you can provide some code fix, so I could patch my own version, it would be great.<br><br>Fabien<br>]]>
   </description>
   <pubDate>Mon, 16 Apr 2018 05:57:04 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23527&amp;PID=76749&amp;title=solved-problem-with-ribbon-bar-background#76749</guid>
  </item> 
  <item>
   <title><![CDATA[[solved] Problem with ribbon bar background : I am having a similar issue with...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23527&amp;PID=76463&amp;title=solved-problem-with-ribbon-bar-background#76463</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8769">athix</a><br /><strong>Subject:</strong> 23527<br /><strong>Posted:</strong> 08 January 2018 at 4:37pm<br /><br /><div>I am having a similar issue with MDI window and quick access menu when RibbonBar.ShowCaptionAlways=FALSE.&nbsp; </div><div><br></div><div>It only happens in version 18 when using office2013 and office2016 themes.</div><div><br></div><div><img src="uploads/8769/Untitled.png" height="122" width="771" border="0" /></div>]]>
   </description>
   <pubDate>Mon, 08 Jan 2018 16:37:58 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23527&amp;PID=76463&amp;title=solved-problem-with-ribbon-bar-background#76463</guid>
  </item> 
  <item>
   <title><![CDATA[[solved] Problem with ribbon bar background : Hello,We just installed the MFC...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23527&amp;PID=76427&amp;title=solved-problem-with-ribbon-bar-background#76427</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2347">Sergio</a><br /><strong>Subject:</strong> 23527<br /><strong>Posted:</strong> 19 December 2017 at 6:28am<br /><br />Hello,<div><br></div><div>We just installed the MFC Toolkit Pro version 18.2.0 and we now have a strange background in our ribbon bar used inside of a MDI child window:</div><div><br></div><div><img src="uploads/2347/Ribb&#111;nBarInsideMDIChildBackgroundBug.png" height="208" width="333" border="0" /><br></div><div><br></div><div>We would like to remove the 2 extra bands colors (black and dark gray) from the background which should be flat, as we have no tabs.</div><div><br></div><div>We currently initialize it using the following lines of code (not in the mainframe but in the MDI child frame):</div><div><br></div><div><div><span style="white-space:pre">	</span>m_pRibbonBar = (CXTPRibbonBar*)pChild-&gt;GetCommandBars()-&gt;Add(_T("The Ribbon"), xtpBarTop, RUNTIME_CLASS(CXTPRibbonBar));</div><div><span style="white-space: pre;">	</span>m_pRibbonBar-&gt;EnableFrameTheme(FALSE);</div><div><span style="white-space:pre">	</span>m_pRibbonBar-&gt;EnableDocking(0);</div><div><span style="white-space:pre">	</span>m_pRibbonBar-&gt;ShowQuickAccess(FALSE);</div><div><span style="white-space:pre">	</span>m_pRibbonBar-&gt;SetShowGripper(FALSE);</div><div><span style="white-space:pre">	</span>m_pRibbonBar-&gt;ShowExpandButton(FALSE);</div><div><span style="white-space:pre">	</span>m_pRibbonBar-&gt;SetTabsVisible(FALSE);</div><div><span style="white-space:pre">	</span>m_pRibbonBar-&gt;ShowCaptionAlways(FALSE);</div><div><span style="white-space:pre">	</span>m_pRibbonBar-&gt;SetOwner(pWndToReceiveButtonClickEvents);<br></div></div><div><br></div><div>How can we have two different ribbon bars? Because the following line of code will affect all the ribbon bars, and we just want to remove the background image from the MDI document window, not both of them:</div><div><br></div><div><div><span style="white-space: pre;">	</span>XTPSetOfficeSetBackImage(pChild-&gt;GetCommandBars(), XTPNone);</div></div><div><br></div><div>Please help us, thanks.</div><div><br></div><div>Regards</div>]]>
   </description>
   <pubDate>Tue, 19 Dec 2017 06:28:45 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23527&amp;PID=76427&amp;title=solved-problem-with-ribbon-bar-background#76427</guid>
  </item> 
 </channel>
</rss>