I believe at the first you should learn what is window organization. Look at the function SetWindowOrg.
If window organization is ohter than the screen organization then you should convert the (0, 0) and (right, bottom) points from window client coordinates to screen coordinates by using ClientToScreen and then calculate the number of pixels.
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.