Export (0) Print
Expand All
Expand Minimize

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.

See Also

COleControl Overview | Class Members | Hierarchy Chart | COleControl::SetRectInContainer | COleControl::GetControlSize

Show:
© 2014 Microsoft