BCGControlBar Pro for MFC
BOOL CBCGPEditCtrl::OpenFile ( CFile &  file)

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.

fileA file object. The file must have been opened.