Link to home
Start Free TrialLog in
Avatar of ashugarg00
ashugarg00

asked on

DPI Change in Dialogs

When DPI is changed then the dialog size also changed. how could it be possible to keep it size the same even on DPI change.
Please provide a small code snippet if it can be done.
ASKER CERTIFIED SOLUTION
Avatar of mahesh1402
mahesh1402
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
what id DPI?
@puranik_p
DPI = DOT PER INCH ( measurement pixel units )
Avatar of ashugarg00
ashugarg00

ASKER

Thanks, I have manged make my dialog DPI independent for a dialog
But i am not able to do it for a property sheet.
Can u please tell me how to make a property sheet DPI independent.
you may also use MapDialogRect with CPropertySheet & CPropertyPage.

-MAHESH