This method retrieves a specific substring that describes the document type. The string containing these substrings is stored in the document template and is derived from a string in the resource file for the application. The framework calls this method to get the strings it needs for the application’s user interface. If you have specified a filename extension for your application’s documents, the framework also calls this method when adding an entry to the Windows CE registration database; this allows documents to be opened from the Windows CE File Manager.
Call this method only if you are deriving your own class from CDocTemplate.
Header file: | Afxwin.h |
Platforms: | H/PC 2.0, Palm-size PC, H/PC Pro |
Windows CE versions: | 1.0 and later |
Complete documentation: | Visual C++ documentation |
virtual BOOL GetDocString( CString& rString, enum DocStringIndex index ) const;
CSingleDocTemplate::CSingleDocTemplate