Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - DPI Awareness
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

DPI Awareness

 Post Reply Post Reply
Author
Message
Stefan Überbacher View Drop Down
Groupie
Groupie


Joined: 20 December 2011
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote Stefan Überbacher Quote  Post ReplyReply Direct Link To This Post Topic: DPI Awareness
    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?
Back to Top
TomasS View Drop Down
Groupie
Groupie
Avatar

Joined: 28 January 2009
Location: Sweden
Status: Offline
Points: 47
Post Options Post Options   Thanks (0) Thanks(0)   Quote TomasS Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.125 seconds.