Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
adjust for dpi settings
#9
Thanks Gintaras its working perfectly 

Have 1 more Question

Im trying to get the width of the client area and then minus the length of a text string from the width  to get the y coordinate as i have 4 lines of text that are drawn on the right side of the window. 

Code:
Copy      Help
RECT r; DpiGetWindowRect hDlg &r 4

but havent been able to sort out how to convert 
Code:
Copy      Help
RECT

 to 
Code:
Copy      Help
GDIP.RectF


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)