COleControl::GetClientRect

virtual void GetClientRect( LPRECT lpRect ) const;

Parameters

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.

Remarks

Call this function to retrieve the size of the control's client area.

COleControl OverviewClass MembersHierarchy Chart