This documentation is archived and is not being maintained.

COleControl::GetClientRect

Retrieves the size of the control's client area.

virtual void GetClientRect( 
   LPRECT lpRect  
) const;

lpRect

Pointer to a RECT structure containing the dimensions of the windowless control's client area; that is, the control's size minus window borders, frames, scroll bars, and so on. The lpRect parameter indicates the size of the control's client rectangle, not its position.

Header: afxctl.h

Show: