<?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 : Hi res issue CXTPRibbonControlSystemPopupBarButton</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Hi res issue CXTPRibbonControlSystemPopupBarButton]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 18 Apr 2026 09:30:43 +0000</pubDate>
  <lastBuildDate>Tue, 21 Apr 2015 22:06: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=22522</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[Hi res issue CXTPRibbonControlSystemPopupBarButton : Hello,I&amp;#039;m glad to inform...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=22522&amp;PID=73310&amp;title=hi-res-issue-cxtpribboncontrolsystempopupbarbutton#73310</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8199">astoyan</a><br /><strong>Subject:</strong> 22522<br /><strong>Posted:</strong> 21 April 2015 at 10:06pm<br /><br />Hello,<div><br></div><div>I'm glad to inform you that the upcoming version 17.0 will have full DPI support for the majority of components, including Ribbon, Command Bars, Controls, Docking Pane, Task Panel, TabManager, Shortcut Bar, Markup, which will already be available in 17.0 beta scheduled for release in a few weeks. DPI support for other components is under development now and most likely will be added with the next update. Please stay tuned to our updates and once 17.0 beta &nbsp;is out we appreciate a thorough testing and reporting the problems.</div><div><br></div><div>Thank you.</div><div>Regards,</div><div>&nbsp; Alexander Stoyan</div>]]>
   </description>
   <pubDate>Tue, 21 Apr 2015 22:06:32 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=22522&amp;PID=73310&amp;title=hi-res-issue-cxtpribboncontrolsystempopupbarbutton#73310</guid>
  </item> 
  <item>
   <title><![CDATA[Hi res issue CXTPRibbonControlSystemPopupBarButton : I&amp;#039;m having a heck of a time...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=22522&amp;PID=73059&amp;title=hi-res-issue-cxtpribboncontrolsystempopupbarbutton#73059</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3213">rdhd</a><br /><strong>Subject:</strong> 22522<br /><strong>Posted:</strong> 21 January 2015 at 3:22pm<br /><br />I'm having a heck of a time getting the ribbon to scale up properly when running at a high dpi setting when it comes to our exit and options buttons. We use CXTPRibbonControlSystemPopupBarButton for the two buttons we add side-by-side at the bottom of the system popup menu.<br><br>The problem is that we have is that the font we use on the ribbon is scaled when the user runs at a high dpi setting, say 150%. The system popup bar displays and the controls at the bottom are not large enough. Hence the text next to the icon is too tall for the space allocated. The higher the dpi setting, the worse the clipping is.<br><br>I found CXTPRibbonControlSystemPopupBarButton::GetButtonSize is hard coded to return (22,22). No big deal as the method is virtual. So I subclass and in GetButtonSize I scale the size by the DPI scale factor. So at 150%, I return (33,33). And ... no change. So I just hard coded to return (50,50). No change.<br><br>I think CXTPRibbonSystemPopupBar::CalcDynamicLayout is ignoring the height of the controls. When I step thru the code it calls pControl-&gt;SetRect(), completely ignoring the width of the height that is returned from the call to the button's GetSize() method.<br><br>Not only that, it ignores the width of the button too. So if you don't have any "wide" controls on the system menu, there is clipping in the x dimension too.<br><br>Try this. Create a ribbon with a system popup bar that only has the "app exit" and "app options" CXTPRibbonControlSystemPopupBarButtons on it (they display side-by-side). Then run and click the system button. I get a tiny little window where only a few characters of one of the controls displays.<br><br>I'm running with 16.3.1. CodeJock, do you monitor these posts? Is this issue addressed in 16.4 by any chance? ]]>
   </description>
   <pubDate>Wed, 21 Jan 2015 15:22:05 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=22522&amp;PID=73059&amp;title=hi-res-issue-cxtpribboncontrolsystempopupbarbutton#73059</guid>
  </item> 
 </channel>
</rss>