<?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 : High-DPI 4k resolution - Automatic scaling</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : High-DPI 4k resolution - Automatic scaling]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 08 Apr 2026 12:02:41 +0000</pubDate>
  <lastBuildDate>Wed, 09 Nov 2016 00:30:32 +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=23134</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[High-DPI 4k resolution - Automatic scaling :  Great! Thanks for the detailed...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23134&amp;PID=75299&amp;title=highdpi-4k-resolution-automatic-scaling#75299</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1424">g_j_a_i_n</a><br /><strong>Subject:</strong> 23134<br /><strong>Posted:</strong> 09 November 2016 at 12:30am<br /><br /><div>Great! Thanks for the detailed help.</div><div><br></div><div>Wish you the best!</div><div><br></div><div>Regards,</div><div>Gautam Jain</div>]]>
   </description>
   <pubDate>Wed, 09 Nov 2016 00:30:32 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23134&amp;PID=75299&amp;title=highdpi-4k-resolution-automatic-scaling#75299</guid>
  </item> 
  <item>
   <title><![CDATA[High-DPI 4k resolution - Automatic scaling : questions 1-3. Size of toolbars,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23134&amp;PID=75292&amp;title=highdpi-4k-resolution-automatic-scaling#75292</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8730">olebed</a><br /><strong>Subject:</strong> 23134<br /><strong>Posted:</strong> 08 November 2016 at 1:43pm<br /><br /><b>questions 1-3</b>. Size of toolbars, menubars and other command bars and their&nbsp;<span style="line-height: 16.8px;">text and icons &nbsp;</span>are depend on system DPI. For 100% DPI (96 dpi) its height is 25px.&nbsp;<div>200% (192 dpi) -&gt; 50px,&nbsp;</div><div>300% (288 dpi) -&gt; 75px and so on.</div><div><br></div><div><b>question 2. </b>Yes,&nbsp;<span style=": rgb248, 248, 252;"><span style="line-height: 16.8px;">if the icon is only 16x16, then the menu bar still be scaled.<br><br></span></span><b style="line-height: 16.8px;">question 4</b><span style="line-height: 16.8px;">. ReportControl don't support High DPI scaling. Size of elements depend on size of font and can be changed by developer.</span><span style="line-height: 16.8px; : rgb248, 248, 252;"><span style="line-height: 16.8px;"><br></span></span><b style="line-height: 16.8px;"><br>question 5</b><span style="line-height: 16.8px;">. User can set any available DPI on 4k display. That is why we take into account only system DPI settings.<br></span><span style="line-height: 16.8px; : rgb248, 248, 252;"><span style="line-height: 16.8px;"><br></span></span><span style=": rgb248, 248, 252;"><span style="line-height: 16.8px;">I see many question about size of icons in CommandBars (also in Ribbon, ToolBar, MenuBar)&nbsp;</span>so I have described detail it <a href="http://forum.codejock.com/forum_posts.asp?TID=23038&amp;PID=75291&amp;title=dpi#75291" rel="nofollow">there</a>.<span style="line-height: 16.8px;"><br></span></span><span style="line-height: 1.4;"><br></span><span style="line-height: 16.8px;"><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by g_j_a_i_n" alt="Originally posted by g_j_a_i_n" style="vertical-align: text-bottom;" /> <strong>g_j_a_i_n wrote:</strong><br /><br />In addition to above questions, also tell me about status bar scaling.</span><span style="line-height: 16.8px;"></td></tr></table><br>StatusBar is scaled according to system DPI.</span></div>]]>
   </description>
   <pubDate>Tue, 08 Nov 2016 13:43:21 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23134&amp;PID=75292&amp;title=highdpi-4k-resolution-automatic-scaling#75292</guid>
  </item> 
  <item>
   <title><![CDATA[High-DPI 4k resolution - Automatic scaling : In addition to above questions,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23134&amp;PID=75279&amp;title=highdpi-4k-resolution-automatic-scaling#75279</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1424">g_j_a_i_n</a><br /><strong>Subject:</strong> 23134<br /><strong>Posted:</strong> 04 November 2016 at 10:57am<br /><br />In addition to above questions, also tell me about status bar scaling.<div><br></div><div>Thanks.</div>]]>
   </description>
   <pubDate>Fri, 04 Nov 2016 10:57:33 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23134&amp;PID=75279&amp;title=highdpi-4k-resolution-automatic-scaling#75279</guid>
  </item> 
  <item>
   <title><![CDATA[High-DPI 4k resolution - Automatic scaling :  Hello @Olebed,Now that 17.3...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23134&amp;PID=75277&amp;title=highdpi-4k-resolution-automatic-scaling#75277</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1424">g_j_a_i_n</a><br /><strong>Subject:</strong> 23134<br /><strong>Posted:</strong> 04 November 2016 at 7:25am<br /><br /><div>Hello @Olebed,</div><div><br></div><div>Now that 17.3 is released can you tell me if:</div><div><br></div><div>1. The menu bar will be automatically scaled on 4k display? The text and icon</div><div>2. What if the icon is only 16x16, will the menu bar still be scaled?</div><div>3. Same question 1 and 2 for toolbars also</div><div>4. Same question 1 for Report control header also</div><div>5. In order to detect 4k display what is the minimum resolution you check or minimum DPI?</div><div><br></div><div>Sorry, I don't have a 4k monitor yet. So cannot test it myself.</div><div><br></div><div>Thanks for your help.</div>]]>
   </description>
   <pubDate>Fri, 04 Nov 2016 07:25:54 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23134&amp;PID=75277&amp;title=highdpi-4k-resolution-automatic-scaling#75277</guid>
  </item> 
  <item>
   <title><![CDATA[High-DPI 4k resolution - Automatic scaling : I&amp;#039;m not sure about v17.3....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23134&amp;PID=75118&amp;title=highdpi-4k-resolution-automatic-scaling#75118</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8730">olebed</a><br /><strong>Subject:</strong> 23134<br /><strong>Posted:</strong> 17 September 2016 at 1:55am<br /><br />I'm not sure about v17.3. &nbsp;Fix need many changes which should be very neat. &nbsp;The same code used for drawing controls on all commandBars, ribbon. Also many themes should be tested. The same code supports very old features near new. So we need to care all of them.]]>
   </description>
   <pubDate>Sat, 17 Sep 2016 01:55:28 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23134&amp;PID=75118&amp;title=highdpi-4k-resolution-automatic-scaling#75118</guid>
  </item> 
  <item>
   <title><![CDATA[High-DPI 4k resolution - Automatic scaling :  When can we expect a fix. In...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23134&amp;PID=75117&amp;title=highdpi-4k-resolution-automatic-scaling#75117</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1424">g_j_a_i_n</a><br /><strong>Subject:</strong> 23134<br /><strong>Posted:</strong> 17 September 2016 at 1:52am<br /><br /><div><br></div><div>When can we expect a fix. In how many weeks?</div><div><br></div><div>Will it be in 17.3?</div>]]>
   </description>
   <pubDate>Sat, 17 Sep 2016 01:52:38 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23134&amp;PID=75117&amp;title=highdpi-4k-resolution-automatic-scaling#75117</guid>
  </item> 
  <item>
   <title><![CDATA[High-DPI 4k resolution - Automatic scaling :  Fantastic! Thanks :) ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23134&amp;PID=75115&amp;title=highdpi-4k-resolution-automatic-scaling#75115</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1424">g_j_a_i_n</a><br /><strong>Subject:</strong> 23134<br /><strong>Posted:</strong> 17 September 2016 at 1:36am<br /><br /><div>Fantastic! Thanks :)</div>]]>
   </description>
   <pubDate>Sat, 17 Sep 2016 01:36:34 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23134&amp;PID=75115&amp;title=highdpi-4k-resolution-automatic-scaling#75115</guid>
  </item> 
  <item>
   <title><![CDATA[High-DPI 4k resolution - Automatic scaling : &amp;gt;to detect if the user is having...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23134&amp;PID=75113&amp;title=highdpi-4k-resolution-automatic-scaling#75113</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8730">olebed</a><br /><strong>Subject:</strong> 23134<br /><strong>Posted:</strong> 16 September 2016 at 3:31am<br /><br />&gt;&nbsp;<span style=": rgb248, 248, 252;"><span style="line-height: 16.8px;">to detect if the user is having High-DPI or not</span><br><span style="line-height: 16.8px;">use our drawing helper class </span>CXTPDpi &nbsp;(or global&nbsp;XTPDpiHelper()&nbsp;)<br>call&nbsp;</span><span style="line-height: 16.8px; : rgb248, 248, 252;">XTPDpiHelper()-&gt;</span><span style=": rgb248, 248, 252;">GetDPIX() or&nbsp;</span><span style="line-height: 16.8px; : rgb248, 248, 252;">XTPDpiHelper()-&gt;</span>GetDPIY() &nbsp;to obtains horizontal and vertical DPI values for the system, device&nbsp;<span style="line-height: 1.4;">context or window handle.<br><br></span><span style="line-height: 16.8px; : rgb248, 248, 252;">&gt;How do I decide when to use an icon of higher resolution?<br>Library should make it automatically - size of icon is chosen for available space in ToolBar or Ribbon. Also some options in CommandBars are taken into account and can affect to size of bars/buttons/icons.</span>]]>
   </description>
   <pubDate>Fri, 16 Sep 2016 03:31:42 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23134&amp;PID=75113&amp;title=highdpi-4k-resolution-automatic-scaling#75113</guid>
  </item> 
  <item>
   <title><![CDATA[High-DPI 4k resolution - Automatic scaling : Thanks @olebed for the information.So...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23134&amp;PID=75112&amp;title=highdpi-4k-resolution-automatic-scaling#75112</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1424">g_j_a_i_n</a><br /><strong>Subject:</strong> 23134<br /><strong>Posted:</strong> 16 September 2016 at 3:00am<br /><br />Thanks @olebed for the information.<div><br></div><div>So I will have to do some coding for tab control and report control.</div><div><br>Can you tell me what is the correct way to detect if the user is having High-DPI or not? How do I decide when to use an icon of higher resolution?</div><div><br>Are there any XTP or Windows functions for that?</div><div><br></div><div>Regards,</div><div>Gautam Jain</div>]]>
   </description>
   <pubDate>Fri, 16 Sep 2016 03:00:40 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23134&amp;PID=75112&amp;title=highdpi-4k-resolution-automatic-scaling#75112</guid>
  </item> 
  <item>
   <title><![CDATA[High-DPI 4k resolution - Automatic scaling : HelloGautam Jain,Tab control and...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23134&amp;PID=75110&amp;title=highdpi-4k-resolution-automatic-scaling#75110</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8730">olebed</a><br /><strong>Subject:</strong> 23134<br /><strong>Posted:</strong> 15 September 2016 at 2:52pm<br /><br /><span style="line-height: 16.8px; : rgb248, 248, 252;">Hello&nbsp;</span><span style="line-height: 16.8px; : rgb248, 248, 252;">Gautam Jain,</span><span style="line-height: 16.8px; : rgb248, 248, 252;"><br><br>Tab control and report control don't support DPI scaling.<br><br></span><span style="line-height: 16.8px; : rgb248, 248, 252;">Toolbars and menu bars are support choosing icons with appropriate size (if icon has several sizes in one file), but unfortunately with some bugs. We are working on this now.<br><br>Regards,<br>&nbsp;Oleksandr Lebed</span>]]>
   </description>
   <pubDate>Thu, 15 Sep 2016 14:52:28 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23134&amp;PID=75110&amp;title=highdpi-4k-resolution-automatic-scaling#75110</guid>
  </item> 
 </channel>
</rss>