Share via


COleDocObjectItem::GetActiveView

Call this member function to get a pointer to the IOleDocumentView interface of the currently active view.

LPOLEDOCUMENTVIEW GetActiveView( ) const;

Return Value

A pointer to the IOleDocumentView interface of the currently active view. If there is no current view, it returns NULL.

Remarks

The reference count on the returned IOleDocumentView pointer is not incremented before it is returned by this function.

Requirements

Header: afxole.h

See Also

Reference

COleDocObjectItem Class

Hierarchy Chart

Other Resources

COleDocObjectItem Members