<?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 : Per-Monitor DPI-Aware App - Problems</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Per-Monitor DPI-Aware App - Problems]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 08 Jun 2026 11:43:04 +0000</pubDate>
  <lastBuildDate>Wed, 11 May 2016 03:51:14 +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=23021</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[Per-Monitor DPI-Aware App - Problems : Any suggestions from a CodeJock...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23021&amp;PID=74727&amp;title=permonitor-dpiaware-app-problems#74727</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=903">Alex G.</a><br /><strong>Subject:</strong> 23021<br /><strong>Posted:</strong> 11 May 2016 at 3:51am<br /><br />Any suggestions from a CodeJock developer?]]>
   </description>
   <pubDate>Wed, 11 May 2016 03:51:14 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23021&amp;PID=74727&amp;title=permonitor-dpiaware-app-problems#74727</guid>
  </item> 
  <item>
   <title><![CDATA[Per-Monitor DPI-Aware App - Problems : Hello,We&amp;#039;re currently switching...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23021&amp;PID=74723&amp;title=permonitor-dpiaware-app-problems#74723</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=903">Alex G.</a><br /><strong>Subject:</strong> 23021<br /><strong>Posted:</strong> 09 May 2016 at 7:34am<br /><br />Hello,<div><br></div><div>We're currently switching our app into a 'per-monitor DPI aware' one.</div><div><br></div><div>Why do you need to do the work? If your ( 2 or more ) monitors are set to different scaling factors, it's necessary to change at least the font and icon sizes when the users moves the App from one monitor to another.</div><div><br></div><div>The standard scaling implementation from Windows is not that bad, but not sufficient for us.</div><div><br></div><div>The HighDPI support of the toolkit is much better now in v17.2.x, but there's still room for improvement.</div><div><br></div><div>I couldn't find an easy method (yet) to <b>scale down</b> the ribbon icons.&nbsp;</div><div><br></div><div>&nbsp; <font color="#0000ff">Could I load 64x64 icons and have them scaled down ?&nbsp;</font></div><div><font color="#0000ff"><br></font></div><div>It looks like that they will be always scaled up.</div><div><br></div><div>If the App was moved from 100% to a 125% monitor, I change the font lfSize from -11 to -14 and set the new font to all GUI compoments.</div><div><br></div><div>If there are XTPPaintManagers, there are usually methods like</div><div><br></div><div>&nbsp; obj-&gt;GetPaintManager()-&gt;SetCommandBarsFontIndirect( &amp;lf );</div><div><br></div><div>which can be used for this.</div><div><br></div><div>Some parts of the GUI seems to be not accessible.</div><div><br></div><div><br></div><div><b>The 'System' button</b></div><div><br></div><div>The 'System' Button in the upper left corner when using the backstage view has its own font.</div><div>&nbsp;&nbsp;</div><div>&nbsp;&nbsp;<img src="uploads/903/img01_sysbutt&#111;n_font.png" height="197" width="435" border="0" /></div><div><br></div><div><font color="#0000ff">How can I change the font size?</font></div><div><font color="#0000ff"><br></font></div><div><font color="#0000ff"><br></font></div><div><b>Captions of the Ribbon Groups</b></div><div><b><br></b></div><div>I can't change the font of the captions. Their position and size seems to be pretty static.&nbsp;</div><div><br></div><div>My main desktop is set to 125%, everything is OK there:</div><div><br></div><div><img src="uploads/903/img01_capti&#111;n_font_125.png" height="464" width="909" border="0" /><br></div><div>&nbsp;&nbsp;</div><div>After moving the app to the 100% monitor:</div><div><br></div><div><img src="uploads/903/img01_capti&#111;n_font_100.png" height="416" width="833" border="0" /><br></div><div><br></div><div>The font size is the same, the icons are touching the caption.</div><div><br></div><div><br></div><div><b>Docking pane captions</b></div><div><b><br></b></div><div>I can change the font size which is great. But I found a <font color="#ff0000">problem </font>when I use the&nbsp;<span style="line-height: 1.4;">Office2013 based themes.</span></div><div><span style="line-height: 1.4;"><br></span></div><div>Here's an image using the&nbsp;theme VisualStudio2015Light:</div><div><br></div><div><img src="uploads/903/img02_dock_vs2015.png" height="412" width="900" border="0" /><br></div><div><span style="line-height: 1.4;"><br></span></div><div><span style="line-height: 1.4;"><br></span></div><div>Office2013 based theme:</div><div><br></div><div><img src="uploads/903/img02_dock_vsOff2013.png" height="434" width="900" border="0" /><br></div><div><br></div><div>The height calculation after the font change is wrong...</div><div><br></div><div><br></div><div>To summarize my questions:</div><div><br></div><div><font color="#0000ff"><span style="line-height: 16.8px;">&nbsp;&nbsp;</span><font style="line-height: 16.8px;">Could I load 64x64 icons and have them scaled down ?&nbsp;</font></font></div><div><span style="line-height: 16.8px; : rgb244, 244, 251;"><font color="#0000ff">&nbsp; How can I change the font size of the system button?</font></span></div><div><span style="line-height: 16.8px; : rgb244, 244, 251;"><font color="#0000ff">&nbsp; How can I change the font size of the ribbon group captions?</font></span></div><div><span style="color: rgb0, 0, 255; line-height: 16.8px; : rgb244, 244, 251;"><br></span></div><div><span style="line-height: 16.8px; : rgb244, 244, 251;">Best regards,</span></div><div><span style="line-height: 16.8px; : rgb244, 244, 251;">Alex</span></div>]]>
   </description>
   <pubDate>Mon, 09 May 2016 07:34:16 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23021&amp;PID=74723&amp;title=permonitor-dpiaware-app-problems#74723</guid>
  </item> 
 </channel>
</rss>