Can someone tell me what the units of measurement are for both in the Visual C++ environment and at runtime for the MoveWindow() function? The MoveWindow() are smaller, I need to know how to convert one to the other.
Use pixel measurements in MoveWindow(). The VC++ IDE is "stupid" in this respect but if I recall, the logical units in the IDE are 1.5 times a pixel. I could be wrong!
Use GetClientRect() to get the window's 'pixel' measurement at run time (possibly in OnInitDialog()) - this is the best way to find the pixel measurement.
[sup]programmer (prog'ram'er), n A hot-headed, anorak wearing, pimple-faced computer geek.[/sup]
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.