COleControl::GetRectInContainer
Obtains the coordinates of the control's rectangle relative to the container, expressed in device units.
BOOL GetRectInContainer(
LPRECT lpRect
);
Parameters
- lpRect
A pointer to the rectangle structure into which the control's coordinates will be copied.
Return Value
Nonzero if the control is in-place active; otherwise 0.
Remarks
The rectangle is only valid if the control is in-place active.
Requirements
Header: afxctl.h