CGXGridCore::SetModifiedFlag

virtual void SetModifiedFlag(BOOL bModified = TRUE);

bModified

Flag indicating whether the data has been modified.

Remarks

Overridable method which is called when the user has made any modifications to the data.

The method is derived in CGXGridView. The CGXGridView version of this method calls the appropriate CDocument::SetModfiedFlag method. See CDocument for further details.

If you want to avoid starting with a “dirty” document, you should call EnableHints(TRUE) in OnInitialUpdate after you executed the command-methods to set up the view. CGXGridView::SetModfiedFlag checks the hints-flag. If it is not set, the document’s dirty flag is not updated.

See Also

 CGXGridCore::EnableHints

CGXGridCore

 Class Overview |  Class Members