Print Page | Close Window

DPI Awareness

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=22129
Printed Date: 22 November 2024 at 10:35am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: DPI Awareness
Posted By: Stefan Überbacher
Subject: DPI Awareness
Date Posted: 13 December 2013 at 1:10am
Hi,

I read in the Release Notes (16.2.1) that a DPI awareness switch for CommandBars was added. I use v16.2.4, but I have not found a note in the documentation about it. Can anyone tell me how to switch to DPI awareness?



Replies:
Posted By: TomasS
Date Posted: 20 December 2013 at 5:42am
There is an option to turn on or off the dpi aware scaling of the icons:
CommandBars.Options.SetDPIScallingOptions
(yes it actually has two L's in it...)
However, I have not found any way to have the actual toolbars, tools etc to become DPI aware and resize according to OS settings... 
[Edit] Without the dpiaware option in the manifest they do resize, but in the default "Microsoft way". With the dpiaware option in the manifest they do not resize at all.
There should be a controlled and easy way to resize them in this case including replacing icons with other sizes when needed to avoid that fuzzy or broken look .
How are we supposed to do this CodeJock?


-------------
Xtreme SuitePro (ActiveX) version 17.3.0, 16.3.1
Windows 10 64-bit
Visual Basic 6.0



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