BCGSuite for MFC
BOOL CBCGPEditCtrl::SaveFile ( CFile &  file)

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
fileA reference to a binary file object.