CGXGridCore::GetValueRowCol

const CString& GetValueRowCol(ROWCOL nRow, ROWCOL nCol);

nRow

Specifies the row id.

nCol

Specifies the column id.

Return Value

Returns a reference to value string.

Remarks

The value will be determined by calling ComposeStyleRowCol internally.

You should process the returned reference immediately, as it is only a reference to a temporary allocated string.

See the examples for usage.

Example

This example shows you how you can determine the value for a specific cell:

UINT ui = (UINT) atoi(GetValueRowCol(nRow, nCol));
double d = atof(GetValueRowCol(nRow, nCol));
CString s = GetValueRowCol(nRow, nCol);

See Also

 CGXGridCore::ComposeStyleRowCol  CGXGridCore::SetValueRange  CGXGridCore::SetStyleRange

CGXGridCore

 Class Overview |  Class Members