Article ID: 43596 - Last Review: July 11, 2005 - Revision: 1.2

INFO: GetClientRect() Coordinates Are Not Inclusive

This article was previously published under Q43596
Expand all | Collapse all

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

APPLIES TO
  • Microsoft Platform Software Development Kit-January 2000 Edition
Keywords: 
kbinfo kbwndwprop kbwndw KB43596
 

Article Translations