共用方式為


COleClientItem::GetActiveView

Returns the view on which the item is in-place activated.

CView* GetActiveView( ) const;

Return Value

A pointer to the view; otherwise NULL if the item is not in-place activated.

Requirements

Header: afxole.h

See Also

Reference

COleClientItem Class

Hierarchy Chart

COleClientItem::IsInPlaceActive

COleClientItem::GetDocument