<?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 : Ribbon &#039;File&#039; system button unreadable (windows11)</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Ribbon &#039;File&#039; system button unreadable (windows11)]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 12 May 2026 21:51:31 +0000</pubDate>
  <lastBuildDate>Fri, 30 Jan 2026 15:21:23 +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=24623</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[Ribbon &#039;File&#039; system button unreadable (windows11) : Hello Artem,thanks for taking...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24623&amp;PID=79340&amp;title=ribbon-file-system-button-unreadable-windows11#79340</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4254">Harm Bakker</a><br /><strong>Subject:</strong> 24623<br /><strong>Posted:</strong> 30 January 2026 at 3:21pm<br /><br />Hello Artem,<div>thanks for taking the time to respond. As you can see from my previous reply, I've indeed already found that kind of 'solution', using the ambient property with:</div><div><br></div><div>XTPGetApplication()-&gt;SetAmbientProperty(xtpApplicationUseSystemAccentColor,</div><div><span style="white-space: normal;"><span style="white-space: pre;">	</span>static_cast&lt;long&gt;(TRUE));</span></div><div><span style="white-space: normal;"><br></span></div><div><span style="white-space: normal;">And that works ok. Yet, a fix would be nice so that the default behavior of the library is also ok.</span></div><div><span style="white-space: normal;"><br></span></div><div><span style="white-space: normal;">Kind regards, Harm Bakker&nbsp;</span></div>]]>
   </description>
   <pubDate>Fri, 30 Jan 2026 15:21:23 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24623&amp;PID=79340&amp;title=ribbon-file-system-button-unreadable-windows11#79340</guid>
  </item> 
  <item>
   <title><![CDATA[Ribbon &#039;File&#039; system button unreadable (windows11) : Hello,See please attached image,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24623&amp;PID=79333&amp;title=ribbon-file-system-button-unreadable-windows11#79333</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=9012">agontarenko</a><br /><strong>Subject:</strong> 24623<br /><strong>Posted:</strong> 28 January 2026 at 9:10am<br /><br /><div>Hello,</div><div><br></div><div>See please attached image, and use please "Use System Accent" option</div><div><br></div><div>Regards,</div><div>Artem Gontarenko<img src="uploads/9012/222.png" height="859" width="1450" border="0" /></div><br>]]>
   </description>
   <pubDate>Wed, 28 Jan 2026 09:10:29 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24623&amp;PID=79333&amp;title=ribbon-file-system-button-unreadable-windows11#79333</guid>
  </item> 
  <item>
   <title><![CDATA[Ribbon &#039;File&#039; system button unreadable (windows11) : I&amp;#039;ve spent some more debugging...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24623&amp;PID=79329&amp;title=ribbon-file-system-button-unreadable-windows11#79329</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4254">Harm Bakker</a><br /><strong>Subject:</strong> 24623<br /><strong>Posted:</strong> 27 January 2026 at 8:30am<br /><br />I've spent some more debugging on this problem, the 'File' system menu button being unreadable in the Windows11 dark theme. And while stepping through XTPFrameThemeNativeWindows11.cpp code, I saw that it uses the 'Ambient Property' feature to determine the accent color and text color.<div><br><div>Using that feature, I now have a workaround for the dark text of 'File' menu entry:</div></div><div><br></div><div>In our main application file, I do this:</div><div><div><span style="white-space: normal;"><span style="white-space:pre">	</span>BOOL bUseSystemAccent = FALSE;</span></div><div><span style="white-space: normal;"><span style="white-space:pre">	</span>CString<span style="white-space:pre">	</span>iniFile;</span></div><div><span style="white-space: normal;"><span style="white-space:pre">	</span>switch (getGUITheme()) {</span></div><div><span style="white-space: normal;"><span style="white-space:pre">	</span>case ID_THEME_BLACK2016:</span></div><div><span style="white-space: normal;"><span style="white-space:pre">		</span>iniFile = xtpIniOffice2016WordBlack;</span></div><div><span style="white-space: normal;"><span style="white-space:pre">		</span>break;</span></div><div><span style="white-space: normal;"><span style="white-space:pre">	</span>case ID_THEME_GRAY2016:</span></div><div><span style="white-space: normal;"><span style="white-space:pre">		</span>iniFile = xtpIniOffice2016WordDarkGray;</span></div><div><span style="white-space: normal;"><span style="white-space:pre">		</span>break;</span></div><div><span style="white-space: normal;"><span style="white-space:pre">	</span>case ID_THEME_WHITE2016:</span></div><div><span style="white-space: normal;"><span style="white-space:pre">		</span>iniFile = xtpIniOffice2016WordWhite;</span></div><div><span style="white-space: normal;"><span style="white-space:pre">		</span>break;</span></div><div><span style="white-space: normal;"><span style="white-space:pre">	</span>case ID_THEME_WINDOWS11_LIGHT:</span></div><div><span style="white-space: normal;"><span style="white-space:pre">		</span>iniFile = xtpIniWindows11Light;</span></div><div><span style="white-space: normal;"><span style="white-space:pre">		</span>break;</span></div><div><span style="white-space: normal;"><span style="white-space:pre">	</span>case ID_THEME_WINDOWS11_DARK:</span></div><div><span style="white-space: normal;"><span style="white-space:pre">		</span>iniFile = xtpIniWindows11Dark;</span></div><div><span style="white-space: normal;"><span style="white-space:pre">		</span>bUseSystemAccent = TRUE;</span></div><div><span style="white-space: normal;"><span style="white-space:pre">		</span>break;</span></div><div><span style="white-space: normal;"><span style="white-space:pre">	</span>case ID_THEME_BLUE2016:</span></div><div><span style="white-space: normal;"><span style="white-space:pre">	</span>default:</span></div><div><span style="white-space: normal;"><span style="white-space:pre">		</span>iniFile = xtpIniOffice2016WordColorful;</span></div><div><span style="white-space: normal;"><span style="white-space:pre">		</span>break;</span></div><div><span style="white-space: normal;"><span style="white-space:pre">	</span>}</span></div></div><div><span style="white-space: normal;"><br></span></div><div><span style="white-space: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;....&nbsp;</span>Followed a few lines later by this:</div><div><div><br></div><div><span style="white-space: normal;"><span style="white-space:pre">	</span>if (bUseSystemAccent) {</span></div><div><span style="white-space: normal;"><span style="white-space:pre">		</span>XTPGetApplication()-&gt;SetAmbientProperty(xtpApplicationAccentColor,</span></div><div><span style="white-space: normal;"><span style="white-space:pre">			</span>static_cast&lt;long&gt;(RGB(50, 50, 50)));</span></div><div><span style="white-space: normal;"><span style="white-space:pre">		</span>XTPGetApplication()-&gt;SetAmbientProperty(xtpApplicationUseSystemAccentColor,</span></div><div><span style="white-space: normal;"><span style="white-space:pre">			</span>static_cast&lt;long&gt;(TRUE));</span></div><div><span style="white-space: normal;"><span style="white-space:pre">	</span>}</span></div></div><div><br></div><div>The result is that the 'File' menu button is now shown correctly with white text on dark background, in the upper left:</div><div><img src="uploads/4254/Ribb&#111;n_File_menu_black_&#111;n_black_-_fixed.png" height="1690" width="2902" border="0" /><br></div>]]>
   </description>
   <pubDate>Tue, 27 Jan 2026 08:30:37 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24623&amp;PID=79329&amp;title=ribbon-file-system-button-unreadable-windows11#79329</guid>
  </item> 
  <item>
   <title><![CDATA[Ribbon &#039;File&#039; system button unreadable (windows11) : In the 24.3 release, we encounter...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24623&amp;PID=79327&amp;title=ribbon-file-system-button-unreadable-windows11#79327</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4254">Harm Bakker</a><br /><strong>Subject:</strong> 24623<br /><strong>Posted:</strong> 25 January 2026 at 5:40pm<br /><br />In the 24.3 release, we encounter the following problem.<div>In the Window11 dark mode, the 'File' (SystemButton) entry ribbon in the CommandBars is unreadable, because it has black text, on a dark background. See the image.</div><div><br></div><div><img src="uploads/4254/Ribb&#111;n_File_menu_black_&#111;n_black.png" height="1609" width="2833" border="0" /><br></div><div>I've been looking and debugging for a day, to see if I could solve this by setting the text color to a different value, but no luck so far.</div><div>All of the PaintManager settings are being read from the resource files, in this case, the Windows11.dll. And because this resource Windows11.dll is in fact a binary resource dll, it can only be changed/fixed by CodeJock.</div><div><br></div><div>So, my question/request is: can someone from CodeJock fix this problem, and deliver a patched Windows11.dll, in which the text color of the File / SystemButton (in dark mode) is correct?</div><div><br></div>]]>
   </description>
   <pubDate>Sun, 25 Jan 2026 17:40:39 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24623&amp;PID=79327&amp;title=ribbon-file-system-button-unreadable-windows11#79327</guid>
  </item> 
 </channel>
</rss>