INFO: GetClientRect() Coordinates Are Not Inclusive (43596)



The information in this article applies to:

  • Microsoft Platform Software Development Kit (SDK) 1.0

This article was previously published under Q43596

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).

Modification Type:MinorLast Reviewed:7/11/2005
Keywords:kbinfo kbWndw kbWndwProp KB43596