|
|
|
IOleDocumentView Interface |
|
IID_IOleDocumentView |
{B722BCC6-4E68-101B-A2BC-00AA00404770} |
|
The
IOleDocumentView interface enables a container to communicate with each
view supported by a document object.
|
|
Methods in VTable order |
|
|
IUnknown Methods |
Description |
|
QueryInterface |
Returns pointers to supported interfaces. |
|
AddRef |
Increments reference count. |
|
Release |
Decrements reference count. |
|
IOleDocumentView Methods |
Description |
|
SetInPlaceSite |
Associates a container view site with this view. |
|
GetInPlaceSite |
Retrieves the view site associated with this view. |
|
GetDocument |
Obtains the IUnknown pointer of the document object that owns this view. |
|
SetRect |
Sets the coordinates of the view port. |
|
GetRect |
Retrieves the coordinates last passed in SetRect. |
|
SetRectComplex |
Sets the coordinates of the view port, scroll bars, and size box. |
|
Show |
In-place activates or deactivates a view. |
|
UIActivate |
In-place activates or deactivates a view's user-interface elements. |
|
Open |
Displays view in a separate pop-up window. |
|
Close |
Instructs view to close. |
|
SaveViewState |
Saves view state into stream. |
|
ApplyViewState |
Initializes view with view state previously saved in call to SaveViewState. |
|
Clone |
Creates a duplicate view object. |
|
SetInPlaceSite |
|
FUNCTION IOleDocumentView_SetInPlaceSite ( _ BYVAL pthis AS DWORD PTR _ , BYVAL pIPSite AS DWORD _ )
AS LONG
|
|
GetInPlaceSite |
|
FUNCTION IOleDocumentView_GetInPlaceSite ( _ BYVAL pthis AS DWORD PTR _ , BYREF ppIPSite AS DWORD _ )
AS LONG
|
|
GetDocument |
|
FUNCTION IOleDocumentView_GetDocument ( _ BYVAL pthis AS DWORD PTR _ , BYREF ppunk AS DWORD _ )
AS LONG
|
|
SetRect |
|
FUNCTION IOleDocumentView_SetRect ( _ BYVAL pthis AS DWORD PTR _ , BYREF prcView AS RECT _ )
AS LONG
|
|
GetRect |
|
FUNCTION IOleDocumentView_GetRect ( _ BYVAL pthis AS DWORD PTR _ , BYREF prcView AS RECT _ )
AS LONG
|
|
SetRectComplex |
|
FUNCTION IOleDocumentView_SetRectComplex ( _ BYVAL pthis AS DWORD PTR _ , BYREF prcView AS RECT _ , BYREF prcHScroll AS RECT _ , BYREF prcVScroll AS RECT _ , BYREF prcSizeBox AS RECT _ )
AS LONG
|
|
Show |
|
FUNCTION IOleDocumentView_Show ( _ BYVAL pthis AS DWORD PTR _ , BYVAL fShow AS LONG _ )
AS LONG
|
|
UIActivate |
|
FUNCTION IOleDocumentView_UIActivate ( _ BYVAL pthis AS DWORD PTR _ , BYVAL fUIActivate AS LONG _ )
AS LONG
|
|
Open |
|
SUB IOleDocumentView_Open ( _ BYVAL pthis AS DWORD PTR _ , BYVAL fUIActivate AS LONG _ )
|
|
Close |
|
FUNCTION IOleDocumentView_Close ( _ BYVAL pthis AS DWORD PTR _ , BYVAL dwReserved AS DWORD _ )
AS LONG
|
|
SaveViewState |
|
FUNCTION IOleDocumentView_SaveViewState ( _ BYVAL pthis AS DWORD PTR _ , BYVAL pstm AS DWORD _ )
AS LONG
|
|
ApplyViewState |
|
FUNCTION IOleDocumentView_ApplyViewState ( _ BYVAL pthis AS DWORD PTR _ , BYVAL pstm AS DWORD _ )
AS LONG
|
|
Clone |
|
FUNCTION IOleDocumentView_Clone ( _ BYVAL pthis AS DWORD PTR _ , BYVAL pIPSiteNew AS DWORD _ , BYREF ppViewNew AS DWORD _ )
AS LONG
|
Page last updated on Monday, 29 May 2006 15:15:23 +0200