CRect::DeflateRect

This method deflates a CRect object by moving its sides toward its center.

At a Glance

Header file: Afxwin.h
Platforms: H/PC 2.0, Palm-size PC, H/PC Pro
Windows CE versions: 1.0 and later
Complete documentation: Visual C++ documentation

Syntax

void DeflateRect( int x, int y );

void DeflateRect( SIZE size );

void DeflateRect( LPCRECT lpRect );

void DeflateRect( int l, int t, int r, int b );

See Also

CRect::InflateRect, CRect::operator -, CRect::operator -=