Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Controls
  New Posts New Posts RSS Feed - CXTPWindowPos and DPI
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CXTPWindowPos and DPI

 Post Reply Post Reply
Author
Message
cpede View Drop Down
Senior Member
Senior Member


Joined: 13 August 2004
Status: Offline
Points: 546
Post Options Post Options   Thanks (0) Thanks(0)   Quote cpede Quote  Post ReplyReply Direct Link To This Post Topic: CXTPWindowPos and DPI
    Posted: 17 January 2017 at 3:00am
Has anyone also seen a problem when using CXTPWindowPos when changing DPI?

When e.g. running 100% DPI and using:
CXTPWindowPos().SaveWindowPos(this,_T("WindowPlacement"),_T("Dialogs\\MyDialog"));

and then when changing to 150% DPI and using:
CXTPWindowPos().LoadWindowPos(this,_T("WindowPlacement"),_T("Dialogs\\MyDialog"));

Then I see that the dialog size is the same, but the content cannot fit since it is scaled to 150% DPI.

Any good ideas to solve this problem generally?

-cpede
Product: Xtreme ToolkitPro (18.0.1)
Platform: Windows 10 (x64)
Language: Visual Studio 2017 (C++)
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.063 seconds.