Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Is Toolkit Pro high DPI aware?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Is Toolkit Pro high DPI aware?

 Post Reply Post Reply
Author
Message
calvi View Drop Down
Groupie
Groupie


Joined: 20 March 2004
Location: United Kingdom
Status: Offline
Points: 43
Post Options Post Options   Thanks (0) Thanks(0)   Quote calvi Quote  Post ReplyReply Direct Link To This Post Topic: Is Toolkit Pro high DPI aware?
    Posted: 19 September 2010 at 1:54pm
By default, Visual Studio 2010 marks all MFC applications as high DPI aware.  This means that Windows no longer stretches the GUI when the screen DPI is set to more than 100%, because it assumes that the application handles scaling internally, as explained in this tutorial.

Does Toolkit Pro obey the rules for this?

Thanks
Back to Top
calvi View Drop Down
Groupie
Groupie


Joined: 20 March 2004
Location: United Kingdom
Status: Offline
Points: 43
Post Options Post Options   Thanks (0) Thanks(0)   Quote calvi Quote  Post ReplyReply Direct Link To This Post Posted: 25 September 2010 at 9:03am
I thought this would be a simple yes or no question, so I'm not sure what to make of the lack of response.

I suppose if the developers don't know if their toolkit is high-DPI aware, it's safest to assume that it isn't.

Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 27 September 2010 at 6:58am
Hi,

Yes, its high-DPI aware and in last releases all our samples have call
CXTPWinDwmWrapper().SetProcessDPIAware();
to notify Vista/Windows 7 about it.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
calvi View Drop Down
Groupie
Groupie


Joined: 20 March 2004
Location: United Kingdom
Status: Offline
Points: 43
Post Options Post Options   Thanks (0) Thanks(0)   Quote calvi Quote  Post ReplyReply Direct Link To This Post Posted: 27 September 2010 at 8:48am
Thanks Oleg.

Back to Top
znakeeye View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 July 2006
Status: Offline
Points: 1672
Post Options Post Options   Thanks (0) Thanks(0)   Quote znakeeye Quote  Post ReplyReply Direct Link To This Post Posted: 27 September 2010 at 10:45am
But CXTPWinDwmWrapper is not needed when you include this setting in the manifest, right? VS 2010 has it by default, I think...
PokerMemento - http://www.pokermemento.com/
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 28 September 2010 at 12:59am
Right, you don't need call CXTPWinDwmWrapper().SetProcessDPIAware(); if you have rigth manifest.

CXTPWinDwmWrapper also has some more  wrappers around dwmapi.dll.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
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.031 seconds.