CGXGridCore::DisplayWarningText

virtual void DisplayWarningText( );

Remarks

This overridable method is called from the grid-component when the validation routine for a cell (CGXControl::OnValidate or CGXGridCore::OnValidateCell) returned FALSE and specified a warning text with SetWarningText.

You can override this method if you want to display a message-box other than the default. Before you start overriding, you should take a look at the base-class version of this method. It contains some comments on how to override the method.

See CGXGridCore::OnValidateCell for an example of specifying the warning text when the cell’s content is invalid.

See Also

 CGXGridCore::OnValidateCell  CGXGridCore::SetWarningText  CGXControl::OnValidate

CGXGridCore

 Class Overview |  Class Members