CGXODBCGrid::GetDisplaySize
virtual long GetDisplaySize(const CGXFieldInfo& fieldInfo, long cbColDef);?
fieldInfo
A reference to a CGXFieldInfo structure which contains field information for a field in a CRecordset.
cbColDef
Specifies the precision (or maximum text length for text fields) of the field.
Return Value
Returns the default column width in characters.
Remarks
This method is called from OnInitColInfo to determine the initial column width in characters for the specified field type. You may override this method if you want to change the initial widths for specific data types.