MFC Grid manual

IAutoDelete Class Reference

Determines whether the object that implements IAutoDelete interface is destroyed by CGrid. More...

#include <Dapfor/GUI/IAutoDelete.h>

Inheritance diagram for IAutoDelete:

CHeader ICopyPaste ICustomDraw IDragDrop IEditInPlace IGridFilter IKeyManager ITooltip ITooltipCtrl

List of all members.


Public Member Functions

virtual ~IAutoDelete ()
 virtual destructor
virtual bool AutoDelete () const =0

Detailed Description

Determines whether the object that implements IAutoDelete interface is destroyed by CGrid.

Version:
2.0.0 Initial version

Member Function Documentation

bool AutoDelete (  )  const [pure virtual]

Indicates whether the object of the class derived from IAutoDelete interface is destroyed by CGrid. (Usually in the destructor of CGrid).

Returns:
true if CGrid should destroy the object. Otherwise the life time of the object is managed by the programmer.

Implemented in CCopyPaste, CCustomDraw, CDragDrop, CEditInPlace, CHeader, CKeyManager, CTooltip, and CTooltipCtrl.