Print Page | Close Window

Is Toolkit Pro high DPI aware?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=17279
Printed Date: 20 June 2025 at 7:47am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Is Toolkit Pro high DPI aware?
Posted By: calvi
Subject: Is Toolkit Pro high DPI aware?
Date Posted: 19 September 2010 at 1:54pm
By default, Visual Studio 2010 marks all MFC applications as http://blogs.msdn.com/b/vcblog/archive/2010/03/11/mfc-applications-now-default-to-being-dpi-aware.aspx - 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 http://msdn.microsoft.com/en-us/library/dd464659%28VS.85%29.aspx - this tutorial .

Does Toolkit Pro obey the rules for this?

Thanks



Replies:
Posted By: calvi
Date 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.



Posted By: Oleg
Date 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


Posted By: calvi
Date Posted: 27 September 2010 at 8:48am
Thanks Oleg.



Posted By: znakeeye
Date 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/


Posted By: Oleg
Date 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



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