Public Member Functions | |
virtual void | OnUpdate (FID fid, const CDataObject *dataObject)=0 |
Called when the field is updated. | |
virtual void | OnUpdate (const Fids &fids, const CDataObject *dataObject) |
Called when the fields are updated. | |
virtual void | OnDelete (const CDataObject *dataObject) |
Called when the object ends its life cycle. |
This interface can be used to receive notifications from CDataObject. For instance, GUI::CGrid receives notifications from this interface to update and to highlight a text in cells. It automatically displaces the lines according to sort rules and manages its visibility according to filter rules.
void OnUpdate | ( | FID | fid, | |
const CDataObject * | dataObject | |||
) | [pure virtual] |
Called when the field is updated.
[in] | fid | Identifier that corresponds to the modified field. |
[in] | dataObject | Pointer to CDataObject which sends notification. |
void OnUpdate | ( | const Fids & | fids, | |
const CDataObject * | dataObject | |||
) | [virtual] |
Called when the fields are updated.
[in] | fids | List of the identifiers that correspond to the modified fields |
[in] | dataObject | Pointer to CDataObject which sends notification. |
void OnDelete | ( | const CDataObject * | dataObject | ) | [virtual] |
Called when the object ends its life cycle.
[in] | dataObject | Pointer to CDataObject which sends notification. |
Copyright Dapfor 2007-2009 | Generated on Wed Jul 7 03:24:43 2010 for MFCGrid by 1.5.5 |