Call this member function to retrieve the control's rectangle relative to its container.
BOOL GetRectInContainer( LPRECT lpRect );
Header file: | Afxctl.h |
Platforms: | |
Versions: | 2.0 and later |
Complete documentation | Visual C++ documentation |
COleControl Overview, COleControl Member Functions, Control Classes, COleControl::SetRectInContainer, COleControl::GetControlSize