BCGControlBar Pro for MFC
virtual void CBCGPGridCtrl::OnPrepareTextString ( CString &  str,
DWORD  dwFlags 
) const

Called by the grid control when it needs to prepare a text string for export to requested format.

dwFlags can be one of the following enumerated ExportTextFormat values:

  • Format_CSV - comma separated values
  • Format_TabSV - tab separated values

Override this method in a derived class to customize the export process.

strContains the resulting text when the function returns.
dwFlagsFormatting flags.