BCGSoft Professional Editor for MFC
BOOL CBCGPEditCtrl::OpenFile ( const CString &  strFileName)

Opens a file, reads text from it and sets this text to the edit control.

Nonzero if the function succeeds; otherwise 0.

Use this function to set the edit control's text from the specified file.

strFileNameSpecifies the file name.