COleServerDoc::GetItemPosition

void GetItemPosition( LPRECT lpPosRect ) const;

Parameters

lpPosRect

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

Remarks

Call the GetItemPosition member function to get the coordinates of the item being edited in place. 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.

COleServerDoc OverviewClass MembersHierarchy Chart

See Also   COleServerDoc::GetItemClipRect