다음을 통해 공유


COleServerDoc::GetItemPosition

Call the GetItemPosition member function to get the coordinates of the item being edited in place.

void GetItemPosition( 
   LPRECT lpPosRect  
) const;

Parameters

  • lpPosRect
    Pointer to a RECT structure or a CRect object to receive the coordinates of the item.

Remarks

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

The item's position can be compared with the current clipping rectangle to determine the extent to which the item is visible (or not visible) on the screen.

Requirements

Header: afxole.h

See Also

Reference

COleServerDoc Class

Hierarchy Chart

COleServerDoc::GetItemClipRect