<?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] XTPRibbonControlSystemButton Theme Change</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : [SOLVED] XTPRibbonControlSystemButton Theme Change]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 06:06:51 +0000</pubDate>
  <lastBuildDate>Mon, 22 Aug 2016 01:55:43 +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=23102</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] XTPRibbonControlSystemButton Theme Change : Super, thanks I got it to work...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23102&amp;PID=74979&amp;title=solved-xtpribboncontrolsystembutton-theme-change#74979</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=686">cpede</a><br /><strong>Subject:</strong> 23102<br /><strong>Posted:</strong> 22 August 2016 at 1:55am<br /><br />Super, thanks I got it to work :-)<div><br></div><div>-cpede</div>]]>
   </description>
   <pubDate>Mon, 22 Aug 2016 01:55:43 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23102&amp;PID=74979&amp;title=solved-xtpribboncontrolsystembutton-theme-change#74979</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] XTPRibbonControlSystemButton Theme Change :   cpede wrote:When I e.g. select...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23102&amp;PID=74978&amp;title=solved-xtpribboncontrolsystembutton-theme-change#74978</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8730">olebed</a><br /><strong>Subject:</strong> 23102<br /><strong>Posted:</strong> 20 August 2016 at 12:17pm<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by cpede" alt="Originally posted by cpede" style="vertical-align: text-bottom;" /> <strong>cpede wrote:</strong><br /><br />When I e.g. select Office2013 PowerPoint Theme, and switches between Dark and Light Gray sub-theme the sample crashes :-(<span style="line-height: 16.8px;"></td></tr></table></span><br><span style="line-height: 16.8px;">Are you sure that use v17.2 of library ? &nbsp;I fixed this issue on 1st of February 2016 :-)</span><br><span style="line-height: 16.8px;">in RibbonSample <br></span>in CMainFrame::OnOptionsStyleOffice2013LtGray() and&nbsp;CMainFrame::OnOptionsStyleOffice2013DkGray()<br>replace &nbsp;SetTheme() with&nbsp;SetStyle().<br><br><div><span style="line-height: 16.8px;"><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by cpede" alt="Originally posted by cpede" style="vertical-align: text-bottom;" /> <strong>cpede wrote:</strong><br /><br /></span>But it seems that the sample also recreates the backstage (testing and reusing the individual backstage pages). What exactly generates the repaint of the system button?<span style="line-height: 1.4;"></td></tr></table></span><br><span style="line-height: 1.4;">SystemButton is drawn with other ribbon controls in cycle in&nbsp;</span><span style="line-height: 16.8px;">CXTPRibbonBar::DrawCommandBar()</span><br><br><div>&gt;<span ="Apple-tab-span" style="white-space: pre;">	</span>ToolkitPro1720UD.dll!CXTPRibbonMarkupTheme::DrawRibbonFrameSystemButton(CDC * pDC, CXTPRibbonControlSystemButton * pControl, CRect rc) Line 842<span ="Apple-tab-span" style="white-space: pre;">	</span>C++</div><div>&nbsp;<span ="Apple-tab-span" style="white-space:pre">	</span>ToolkitPro1720UD.dll!CXTPRibbonControlSystemButton::Draw(CDC * pDC) Line 101<span ="Apple-tab-span" style="white-space:pre">	</span>C++</div><div>&nbsp;<span ="Apple-tab-span" style="white-space:pre">	</span>ToolkitPro1720UD.dll!CXTPRibbonBar::DrawCommandBar(CDC * pDC, CRect rcClipBox) Line 1631<span ="Apple-tab-span" style="white-space:pre">	</span>C++</div><div>&nbsp;<span ="Apple-tab-span" style="white-space:pre">	</span>ToolkitPro1720UD.dll!CXTPCommandBarAnimation::OnPaint(CPaintDC &amp; paintDC) Line 348<span ="Apple-tab-span" style="white-space:pre">	</span>C++</div><div>&nbsp;<span ="Apple-tab-span" style="white-space:pre">	</span>ToolkitPro1720UD.dll!CXTPCommandBar::OnPaint() Line 1557<span ="Apple-tab-span" style="white-space:pre">	</span>C++</div><div style="line-height: 1.4;"><br></div></div>]]>
   </description>
   <pubDate>Sat, 20 Aug 2016 12:17:02 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23102&amp;PID=74978&amp;title=solved-xtpribboncontrolsystembutton-theme-change#74978</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] XTPRibbonControlSystemButton Theme Change : When I e.g. select Office2013...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23102&amp;PID=74974&amp;title=solved-xtpribboncontrolsystembutton-theme-change#74974</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=686">cpede</a><br /><strong>Subject:</strong> 23102<br /><strong>Posted:</strong> 19 August 2016 at 5:48pm<br /><br />When I e.g. select Office2013 PowerPoint Theme, and switches between Dark and Light Gray sub-theme the sample crashes :-(<div><br></div><div>But it seems that the sample also recreates the backstage (testing and reusing the individual backstage pages). What exactly generates the repaint of the system button?</div>]]>
   </description>
   <pubDate>Fri, 19 Aug 2016 17:48:12 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23102&amp;PID=74974&amp;title=solved-xtpribboncontrolsystembutton-theme-change#74974</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] XTPRibbonControlSystemButton Theme Change : Hello cpede,I can&amp;#039;t reproduce...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23102&amp;PID=74971&amp;title=solved-xtpribboncontrolsystembutton-theme-change#74971</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8730">olebed</a><br /><strong>Subject:</strong> 23102<br /><strong>Posted:</strong> 19 August 2016 at 3:45pm<br /><br />Hello cpede,<br><br>I can't reproduce this behavior. Even with v16.4 when backstage doesn't change color, but system button change it.<br>Please explore RibbonSample for&nbsp;<span style="line-height: 16.8px;">theme&nbsp;</span>changing. It works as expected.<br><br>Regards,<br>&nbsp;Oleksandr Lebed<br>]]>
   </description>
   <pubDate>Fri, 19 Aug 2016 15:45:39 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23102&amp;PID=74971&amp;title=solved-xtpribboncontrolsystembutton-theme-change#74971</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] XTPRibbonControlSystemButton Theme Change : I can&amp;#039;t find a way to update...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23102&amp;PID=74969&amp;title=solved-xtpribboncontrolsystembutton-theme-change#74969</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=686">cpede</a><br /><strong>Subject:</strong> 23102<br /><strong>Posted:</strong> 19 August 2016 at 5:32am<br /><br />I can't find a way to update the XTPRibbonControlSystemButton theme.<div><br></div><div>The&nbsp;<span style="line-height: 16.8px;">XTPRibbonControlSystemButton&nbsp;is the first&nbsp;</span>Ribbon button, typically called "File", with the fancy color following the Office themes. E.g. when changing the Office2013 theme from Word to PowerPoint, the color of the&nbsp;<span style="line-height: 16.8px;">XTPRibbonControlSystemButton</span><span style="line-height: 16.8px;">&nbsp;is not changed. The only way to fix this is to delete and recreate the entire Ribbon. There must be an easier way?</span><div><span style="line-height: 16.8px;"><br></span></div><div><span style="line-height: 16.8px;">-cpede</span></div></div>]]>
   </description>
   <pubDate>Fri, 19 Aug 2016 05:32:35 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23102&amp;PID=74969&amp;title=solved-xtpribboncontrolsystembutton-theme-change#74969</guid>
  </item> 
 </channel>
</rss>