Partager via


COleControl::GetClientRect

Retrieves the size of the control's client area.

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.

Requirements

Header: afxctl.h

See Also

Reference

COleControl Class

Hierarchy Chart