<?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 : XAML not DPI Aware</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : XAML not DPI Aware]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 15 Apr 2026 03:51:22 +0000</pubDate>
  <lastBuildDate>Wed, 30 Jan 2019 14:22:55 +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=23802</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[XAML not DPI Aware : yes it&amp;#039;s in the manifest...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23802&amp;PID=77235&amp;title=xaml-not-dpi-aware#77235</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2967">adrien</a><br /><strong>Subject:</strong> 23802<br /><strong>Posted:</strong> 30 January 2019 at 2:22pm<br /><br />yes it's in the manifest (but only system DPI aware so far)&nbsp; Other things are scaling ok.]]>
   </description>
   <pubDate>Wed, 30 Jan 2019 14:22:55 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23802&amp;PID=77235&amp;title=xaml-not-dpi-aware#77235</guid>
  </item> 
  <item>
   <title><![CDATA[XAML not DPI Aware : No, borders, padding, margins,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23802&amp;PID=77232&amp;title=xaml-not-dpi-aware#77232</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1263">Fredrik</a><br /><strong>Subject:</strong> 23802<br /><strong>Posted:</strong> 30 January 2019 at 5:04am<br /><br />No, borders, padding, margins, widths, heights I use pixels and that scales up on my 4K screen. What kind of control are you using? I got other problems with the markup control, but not so much regarding DPI. A long shot: does your manifest file specify your application is High DPI aware?&nbsp;<div><br></div><div><br></div>]]>
   </description>
   <pubDate>Wed, 30 Jan 2019 05:04:39 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23802&amp;PID=77232&amp;title=xaml-not-dpi-aware#77232</guid>
  </item> 
  <item>
   <title><![CDATA[XAML not DPI Aware : what about borders, margins button...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23802&amp;PID=77231&amp;title=xaml-not-dpi-aware#77231</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2967">adrien</a><br /><strong>Subject:</strong> 23802<br /><strong>Posted:</strong> 30 January 2019 at 4:28am<br /><br />what about borders, margins button widths etc?&nbsp; Can you set them in pt as well?&nbsp; I tried it briefly and it won't show anything at all now.]]>
   </description>
   <pubDate>Wed, 30 Jan 2019 04:28:56 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23802&amp;PID=77231&amp;title=xaml-not-dpi-aware#77231</guid>
  </item> 
  <item>
   <title><![CDATA[XAML not DPI Aware : I use CXTPMarkupStatic and CXTPMarkupView,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23802&amp;PID=77230&amp;title=xaml-not-dpi-aware#77230</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1263">Fredrik</a><br /><strong>Subject:</strong> 23802<br /><strong>Posted:</strong> 30 January 2019 at 3:34am<br /><br />I use CXTPMarkupStatic and CXTPMarkupView, for the static I just call mStatic.GetMarkupContext()-&gt;SetDpiAware(TRUE); and it works fine. Font sizes I have in 'pt', e.g. FontSize='8pt'.&nbsp;]]>
   </description>
   <pubDate>Wed, 30 Jan 2019 03:34:04 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23802&amp;PID=77230&amp;title=xaml-not-dpi-aware#77230</guid>
  </item> 
  <item>
   <title><![CDATA[XAML not DPI Aware : p.s. I tried the code as per below,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23802&amp;PID=77228&amp;title=xaml-not-dpi-aware#77228</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2967">adrien</a><br /><strong>Subject:</strong> 23802<br /><strong>Posted:</strong> 29 January 2019 at 8:07pm<br /><br />p.s. I tried the code as per below, but it did nothing.<div><br></div><div><br></div><div><div><span style="white-space:pre">		</span>CXTPMarkupContext* pContext = new CXTPMarkupContext();</div><div><span style="white-space:pre">		</span>pContext-&gt;SetDpiAware(TRUE);</div><div><span style="white-space:pre">		</span>pContext-&gt;SetDefaultTextSmoothing(TRUE);</div><div><span style="white-space:pre">		</span>pContext-&gt;SetDefaultSmoothingMode(xtpMarkupSmoothingAntiAlias);</div><div><br></div><div><span style="white-space:pre">		</span>CXTPMarkupDrawingContext dcMarkup(pContext, dcMem);</div></div><div><br></div><div><br></div>]]>
   </description>
   <pubDate>Tue, 29 Jan 2019 20:07:41 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23802&amp;PID=77228&amp;title=xaml-not-dpi-aware#77228</guid>
  </item> 
  <item>
   <title><![CDATA[XAML not DPI Aware : Hihow can we get XAML to use window...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23802&amp;PID=77227&amp;title=xaml-not-dpi-aware#77227</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2967">adrien</a><br /><strong>Subject:</strong> 23802<br /><strong>Posted:</strong> 29 January 2019 at 7:35pm<br /><br />Hi<div><br></div><div>how can we get XAML to use window scaling options / DPI aware functionality?</div><div><br></div><div>None of the font sizes or block or padding sizes are scaling, and they are all just specified as numbers in the XAML.</div><div><br></div><div>Please don't say we have to at runtime change the XAML to handle scaling.&nbsp; That would make XAML unusable.</div><div><br></div><div>Maybe there's a switch or flag somewhere to enable it?</div>]]>
   </description>
   <pubDate>Tue, 29 Jan 2019 19:35:48 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23802&amp;PID=77227&amp;title=xaml-not-dpi-aware#77227</guid>
  </item> 
 </channel>
</rss>