This topic has not yet been rated - Rate this topic

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.

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.

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.