INFO: GetClientRect() Coordinates Are Not Inclusive

ID: Q43596


The information in this article applies to:


SUMMARY

The coordinates returned by GetClientRect() are not inclusive. For example, to draw a border around the edge of the client area, draw it from the coordinates (Rectangle.left, Rectangle.top) to (Rectangle.right-1, Rectangle.bottom-1).


Keywords          : kbNTOS kbGrpUser kbWinOS kbWndw kbWndwProp 
Version           : 
Platform          : 
Issue type        : kbinfo 

Last Reviewed: March 5, 1999