BOOL GetRectInContainer( LPRECT lpRect );
Return Value
Nonzero if the control is in-place active; otherwise 0.
Parameters
lpRect
A pointer to the rectangle structure into which the control’s coordinates will be copied.
Remarks
Call this function to obtain the coordinates of the control’s rectangle relative to the container, expressed in device units. The rectangle is only valid if the control is in-place active.
COleControl Overview | Class Members | Hierarchy Chart
See Also COleControl::SetRectInContainer, COleControl::GetControlSize