Print Page | Close Window

dpiAware in manifest?

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=16727
Printed Date: 29 May 2024 at 3:49am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: dpiAware in manifest?
Posted By: znakeeye
Subject: dpiAware in manifest?
Date Posted: 19 May 2010 at 6:11pm
From MSDN:
Using manifests is the preferred way to mark applications DPI aware, because it is simpler and safer. The following manifest fragment demonstrates how to use the dpiAware element.
 
Why do CJ applications use this code?
CXTPWinDwmWrapper().SetProcessDPIAware();


-------------
PokerMemento - http://www.pokermemento.com/



Replies:
Posted By: ABuenger
Date Posted: 20 May 2010 at 6:05am
Originally posted by znakeeye znakeeye wrote:

From MSDN:
Using manifests is the preferred way to mark applications DPI aware, because it is simpler and safer. The following manifest fragment demonstrates how to use the dpiAware element.
 
Why do CJ applications use this code?
CXTPWinDwmWrapper().SetProcessDPIAware();


Because most customers probably forget to set it in the manifest?



-------------
Codejock support



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