![]() |
Is Toolkit Pro high DPI aware? |
Post Reply
|
| Author | |
calvi
Groupie
Joined: 20 March 2004 Location: United Kingdom Status: Offline Points: 43 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
calvi
Groupie
Joined: 20 March 2004 Location: United Kingdom Status: Offline Points: 43 |
Post Options
Thanks(0)
Quote Reply
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. |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
calvi
Groupie
Joined: 20 March 2004 Location: United Kingdom Status: Offline Points: 43 |
Post Options
Thanks(0)
Quote Reply
Posted: 27 September 2010 at 8:48am |
|
Thanks Oleg.
|
|
![]() |
|
znakeeye
Senior Member
Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
Quote Reply
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/
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |