CRect The CRect class is similar to a Windows RECT structure. CRect also includes member functions to manipulate CRect objects and Windows RECT structures. A CRect object can be passed as a function parameter wherever a RECT structure, LPCRECT, or LPRECT can be passed.
ATLTYPES_INLINE CRect::operator LPRECT() throw()
{ return this; }
CRect转化成为了LPRECT类型。
The CRect class is similar to a Windows RECT structure. CRect also includes member functions to manipulate CRect objects and Windows RECT structures. A CRect object can be passed as a function parameter wherever a RECT structure, LPCRECT, or LPRECT can be passed.