Print Page | Close Window

How to disable DPI awarness

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=19833
Printed Date: 23 November 2024 at 10:37am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How to disable DPI awarness
Posted By: Fabian
Subject: How to disable DPI awarness
Date Posted: 03 June 2012 at 11:05am
In Version 15.3.1 CJ introduced DPI awarness for toolbar icons. This looks awful, like in Office 2007. How can I disable this new feature (it was gone in Office 2010).
 
Thanks
Fabian


-------------
Product: Xtreme SuitePro (ActiveX) version 16.2.3

Platform: Windows 7 (32bit)

Language: Visual Basic 6.0 / SP6



Replies:
Posted By: ABuenger
Date Posted: 11 June 2012 at 8:48pm
Hi,

for gallerys we have added CXTPControlGallery::m_bAutoScaleDpi to enable/disable DPI awareness.

Could you please post a picture for which icons you want to disable DPI awareness?

Andre



-------------
Codejock support


Posted By: Fabian
Date Posted: 12 June 2012 at 1:42am
Hi Andre
 
I opened a ticket with two examples: 28690. I use simple toolbars without galleries etc. Working under VB6 with ActiveX!
 
Thanks
Fabian


-------------
Product: Xtreme SuitePro (ActiveX) version 16.2.3

Platform: Windows 7 (32bit)

Language: Visual Basic 6.0 / SP6


Posted By: ilya
Date Posted: 25 June 2012 at 2:27pm
Fabian, replied to your ticket.


Posted By: Fabian
Date Posted: 26 June 2012 at 1:38am
Hi Ilya,
 
OK, thanks. I hope update with new property will be available soon.
 
Best Regards
Fabian


-------------
Product: Xtreme SuitePro (ActiveX) version 16.2.3

Platform: Windows 7 (32bit)

Language: Visual Basic 6.0 / SP6


Posted By: rmcmanamy
Date Posted: 20 October 2012 at 12:51pm
How was this posted back in June and still not resolved!

I agree this is completely horrible.  We upgraded to 15.3.1 to try to solve some other problems and now our VB6 interface looks horrible on machines where the user has the text size set to 125%.  It's basically unusable since it doesn't properly size images even.

I can't tell you how disappointed I am in CodeJock that we have had to waste our time upgrading and now have to downgrade back the 15.1.3.  Paying for maintenance is a complete waste if we can't trust that the new versions work and that if there is a major problem like this that it's resolved in days or weeks, not months and still not resolved. 

Here's a screen capture of how horrible the new version looks.



-------------
Product: Xtreme SuitePro (ActiveX Unicode) version 22.0.0

Platform: Windows 11 (64bit)

Language: Visual Basic 6.0



Posted By: ilya
Date Posted: 12 November 2012 at 10:33am
Hi,

Now it's a user option to allow scaling


Posted By: jpbro
Date Posted: 22 November 2012 at 9:05am
Is it a user option in 15.3.1, or for the next release? If it is for 15.3.1, what option do I set to turn off icon scaling?

-------------
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3

Language: Visual Basic 6.0 SP6



Posted By: grudy
Date Posted: 09 January 2013 at 4:01pm
I still haven't seen a reply to this. I have had a support issue (#29789) open on this same problem for several months and still have not gotten a response. Is there an option we can set today in 15.3.1? in 15.4?


Posted By: cpede
Date Posted: 14 December 2016 at 8:20am
When using CJ 17.3 and using gallery items with an icon and text, the icons are scaled to the DPI even the m_bAutoScaleDpi is set to FALSE?

In XTPControlGalleryPaintManager.cpp I find the following line:
CSize szImage(XTP_DPI_X(pImage->GetWidth()), XTP_DPI_Y(pImage->GetHeight()));

This does not look for the m_bAutoScaleDpi flag at all, scaling all icons in a gallery to the DPI, making the gallery items blurred.

-cpede


-------------
Product: Xtreme ToolkitPro (24.0.0)
Platform: Windows 10 (x64)
Language: Visual Studio 2017 (C++)



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net