◄CString► ◄Up► ◄Contents► ◄Index► ◄Back► ──Microsoft Foundation Classes────────────────────────────────────────────── BOOL LoadString( UINT nID ) throw( CMemoryException ); Parameter Description <nID> A Windows string resource ID. Remarks 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. Return Value TRUE if resource load was successful; otherwise FALSE. Example #define IDS_FILENOTFOUND 1 CString s; s.LoadString( IDS_FILENOTFOUND ); -♦-