Partager via


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 
);

Parameters

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

Remarks

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.

Requirements

Header: afxole.h

See Also

Reference

COleClientItem Class

Hierarchy Chart

COleClientItem::OnActivate

COleClientItem::OnActivateUI

Other Resources

COleClientItem Members