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


COleClientItem::OnGetItemPosition

The framework calls the OnGetItemPosition member function to get the coordinates of the item that is being edited in place.

virtual void OnGetItemPosition(
   CRect& rPosition 
);

Параметры

  • rPosition
    Reference to the CRect object that will contain the item's position coordinates.

Заметки

Coordinates are in pixels relative to the container application window's client area.

The default implementation of this function does nothing. Applications that support in-place editing require its implementation.

Требования

Header: afxole.h

См. также

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

COleClientItem Class

COleClientItem Members

Hierarchy Chart

COleClientItem::OnActivate

COleClientItem::OnActivateUI