BCGSuite for MFC
BOOL CBCGPEditCtrl::SaveFile ( const CString &  strFileName)

Saves the edit control's text to a file.

Returns
Nonzero if the function succeeds; otherwise 0.

Use this function to save the content of the edit control to a text file or binary file.

Parameters
strFileNameSpecifies the file name.