Compartilhar via


CRichEditView::IsSelected

Call this function to determine if the specified OLE item is currently selected in this view.

virtual BOOL IsSelected( 
   const CObject* pDocItem  
) const;

Parameters

  • pDocItem
    Pointer to an object in the view.

Return Value

Nonzero if the object is selected; otherwise 0.

Remarks

Override this function if your derived view class has a different method for handling selection of OLE items.

Requirements

Header: afxrich.h

See Also

Reference

CRichEditView Class

Hierarchy Chart

CRichEditView::GetSelectedItem

CRichEditView::GetInPlaceActiveItem