<< Return to Main Index

< Return to Class Index

CGXControl::Store

virtual BOOL Store();

Return Value

TRUE if the data could be stored; FALSE otherwise.

Remarks

Stores the cell’s data, resets the modified-flag and redraws the cell.

You should override this method to store the edited contents of your cell.

The base-class version does not have any functionality.

The CGXEditControl version determines the window text with GetWindowText and calls SetStyleRange.

The CGXListBox version retrieves the text for the current selection and calls SetStyleRange.

The CGXComboBox version tries to fill up the text if it is only a prefix for a value from the choice list.

See Also

CGXGridCore::SetStyleRange CGXControl::GetModify

CGXControl

Class Overview | Class Members