Share via


CView::IsSelected

virtualBOOLIsSelected(constCObject*pDocItem)const;

Return Value

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

Parameters

pDocItem

Points to the document item being tested.

Remarks

Called by the framework to check whether the specified document item is selected. 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.

CView OverviewClass MembersHierarchy Chart

See Also   CDocItem, COleClientItem