BOOL LoadString( UINT nID )
throw( CMemoryException );
nID
A Windows string resource ID.
Reads a Windows string resource, identified by nID, into an existing CString object. The maximum string size is 255 characters.
This function is declared in AFX.H only if _WINDOWS is defined. Its use requires the Windows compiled version of the Microsoft Foundation classes, and it is normally used with AFXWIN.H.
TRUE if resource load was successful; otherwise FALSE.
#define IDS_FILENOTFOUND 1
CString s;
s.LoadString( IDS_FILENOTFOUND );