Skip to content

Which DpiAwareness is effective for UDF? #4136

Answered by LiangTheDev
fdzatdtv asked this question in Q&A
Discussion options

You must be logged in to vote

GetWindowDpiAwarenessContext, and fallback to GetProcessDpiAwareness if GetWindowDpiAwarenessContext is not supported for that version of the OS.
Note that there are app compat settings that could forcefully alter the dpiawareness of the processes.

Replies: 3 comments 9 replies

Comment options

You must be logged in to vote
5 replies
@victorhuangwq
Comment options

@LiangTheDev
Comment options

Answer selected by fdzatdtv
@victorhuangwq
Comment options

@fdzatdtv
Comment options

@LiangTheDev
Comment options

Comment options

You must be logged in to vote
4 replies
@fdzatdtv
Comment options

@LiangTheDev
Comment options

@fdzatdtv
Comment options

@fdzatdtv
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants