Call this member function to retrieve the position and size of the ActiveX control.
void GetControlSize( int* pcx, int* pcy );
Header file: | Afxctl.h |
Platforms: | |
Versions: | 2.0 and later |
Complete documentation | Visual C++ documentation |
COleControl Overview, COleControl Member Functions, Control Classes, COleControl::GetRectInContainer, COleControl::SetControlSize