Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Sets width and height of dialog
#3
Using the width and height of the client area directly is wrong. Why Huh


Code:
Copy      Help
,case 401
,int x y w h
,RECT r
,DpiGetWindowRect hDlg r 4
,h=r.bottom
,w=r.right
,w=w*216/112
,h=h*144/30
,siz w h hDlg


Messages In This Thread
Sets width and height of dialog - by Davider - 12-26-2022, 04:15 AM
RE: Sets width and height of dialog - by Davider - 12-26-2022, 10:32 PM
RE: Sets width and height of dialog - by Davider - 12-26-2022, 11:47 PM
RE: Sets width and height of dialog - by Kevin - 12-27-2022, 03:46 PM
RE: Sets width and height of dialog - by Davider - 12-27-2022, 10:42 PM

Forum Jump:


Users browsing this thread: 4 Guest(s)