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


COleControl::GetControlSize

Retrieves the size of the OLE control window.

void GetControlSize(
   int* pcx,
   int* pcy 
);

Параметры

  • pcx
    Specifies the width of the control in pixels.

  • pcy
    Specifies the height of the control in pixels.

Заметки

Note that all coordinates for control windows are relative to the upper-left corner of the control.

Требования

Header: afxctl.h

См. также

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

COleControl Class

COleControl Members

Hierarchy Chart

COleControl::GetRectInContainer

COleControl::SetControlSize