COleDocument::GetInPlaceActiveItem

Call this function to get the OLE item that is currently activated in place in the frame window containing the view identified by pWnd.

virtual COleClientItem* GetInPlaceActiveItem(
   CWnd* pWnd 
);

Parameters

  • pWnd
    Pointer to the window that displays the container document.

Return Value

A pointer to the single, in-place active OLE item; NULL if there is no OLE item currently in the "in-place active" state.

Requirements

Header: afxole.h

See Also

Concepts

COleDocument Class

COleDocument Members

Hierarchy Chart

COleClientItem Class