![]() |
Is Toolkit Pro high DPI aware? |
Post Reply ![]() |
Author | |
calvi ![]() Groupie ![]() Joined: 20 March 2004 Location: United Kingdom Status: Offline Points: 43 |
![]() ![]() ![]() ![]() ![]() 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 |
![]() ![]() ![]() ![]() ![]() |
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 ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
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 |
![]() ![]() ![]() ![]() ![]() |
Thanks Oleg.
|
|
![]() |
|
znakeeye ![]() Senior Member ![]() ![]() Joined: 26 July 2006 Status: Offline Points: 1672 |
![]() ![]() ![]() ![]() ![]() |
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 ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
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 |