For the moment I am excluding the differences between DDT "Dialog Units" and SDK "Pixels", but more to the core point a basic reference. If I understand correctly then from docs
and
To me that would mean that if I have a Dialog/Window, then I would use GetWindowRect to get size position etc....and anything contained in it would be GetClientRect (buttons, menues, toolbars, statusbars, etc...)
By my rough guesstimation, my position and sizes are off by roughly the size of my Menu, and/or my Titlebar. So I wonder if there are ways of gathering this information? or if I am mis-guessing on who belongs to what Dialog/Window?
Currently I am using SDK so that I can deal in Pixels only (less conversion rounding errors) but since the change to the new forums I can not find the code explaining the lil nuances of each so hoped someone could explain or point me to the correct links?
The GetWindowRect function retrieves the dimensions of the bounding rectangle of the specified window. The dimensions are given in screen coordinates that are relative to the upper-left corner of the screen.
The GetClientRect function retrieves the coordinates of a window's client area. The client coordinates specify the upper-left and lower-right corners of the client area. Because client coordinates are relative to the upper-left corner of a window's client area, the coordinates of the upper-left corner are (0,0).
By my rough guesstimation, my position and sizes are off by roughly the size of my Menu, and/or my Titlebar. So I wonder if there are ways of gathering this information? or if I am mis-guessing on who belongs to what Dialog/Window?
Currently I am using SDK so that I can deal in Pixels only (less conversion rounding errors) but since the change to the new forums I can not find the code explaining the lil nuances of each so hoped someone could explain or point me to the correct links?

Comment