Поделиться через


COleControl::GetRectInContainer

Obtains the coordinates of the control's rectangle relative to the container, expressed in device units.

BOOL GetRectInContainer(
   LPRECT lpRect 
);

Параметры

  • lpRect
    A pointer to the rectangle structure into which the control's coordinates will be copied.

Возвращаемое значение

Nonzero if the control is in-place active; otherwise 0.

Заметки

The rectangle is only valid if the control is in-place active.

Требования

Header: afxctl.h

См. также

Основные понятия

COleControl Class

COleControl Members

Hierarchy Chart

COleControl::SetRectInContainer

COleControl::GetControlSize