CView::IsSelected

Called by the framework to check whether the specified document item is selected.

virtual BOOL IsSelected(
   const CObject* pDocItem 
) const;

Параметры

  • pDocItem
    Points to the document item being tested.

Возвращаемое значение

Nonzero if the specified document item is selected; otherwise 0.

Заметки

The default implementation of this function returns FALSE. Override this function if you are implementing selection using CDocItem objects. You must override this function if your view contains OLE items.

Требования

Header: afxwin.h

См. также

Основные понятия

CView Class

CView Members

Hierarchy Chart

CDocItem Class

COleClientItem Class