home     download     screen shots     bugs     mailing list     example output     generated MFC docs     help     tools and utilities


 Overview   Project   Class   Tree   Index 
MFC Class Library
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

MFC
Class CRecentFileList

   in AFXADV.H

class CRecentFileList

CRecentFileList


Field Summary
 CString* m_arrNames
          
 int m_nMaxDisplayLength
          
 int m_nSize
          
 UINT m_nStart
          
 CString m_strEntryFormat
          
 CString m_strOriginal
          
 CString m_strSectionName
          
 
Constructor Summary
CRecentFileList( UINT nStart, LPCTSTR lpszSection, LPCTSTR lpszEntryFormat, int nSize, int nMaxDispLen = 30 )
          
virtual ~CRecentFileList()
          
 
Method Summary
 virtual void Add( LPCTSTR lpszPathName )
          
 BOOL GetDisplayName( CString& strName, int nIndex, LPCTSTR lpszCurDir, int nCurDir, BOOL bAtLeastName = TRUE ) const
          
 AFX_INLINE int GetSize() const
          
 AFX_INLINE CString& operator[]( int nIndex )
          
 virtual void ReadList()
          
 virtual void Remove( int nIndex )
          
 virtual void UpdateMenu( CCmdUI* pCmdUI )
          
 virtual void WriteList()
          
 

Field Detail

m_arrNames

public CString* m_arrNames;

m_nMaxDisplayLength

public int m_nMaxDisplayLength;

m_nSize

public int m_nSize;

m_nStart

public UINT m_nStart;

m_strEntryFormat

public CString m_strEntryFormat;

m_strOriginal

public CString m_strOriginal;

m_strSectionName

public CString m_strSectionName;


Constructor Detail

CRecentFileList

public CRecentFileList( UINT nStart, LPCTSTR lpszSection, LPCTSTR lpszEntryFormat, int nSize, int nMaxDispLen = 30 );

~CRecentFileList

public virtual ~CRecentFileList();


Method Detail

Add

public virtual void Add( LPCTSTR lpszPathName );

GetDisplayName

public BOOL GetDisplayName( CString& strName, int nIndex, LPCTSTR lpszCurDir, int nCurDir, BOOL bAtLeastName = TRUE ) const;

GetSize

public AFX_INLINE int GetSize() const;

operator[]

public AFX_INLINE CString& operator[]( int nIndex );

ReadList

public virtual void ReadList();

Remove

public virtual void Remove( int nIndex );

UpdateMenu

public virtual void UpdateMenu( CCmdUI* pCmdUI );

WriteList

public virtual void WriteList();

 Overview   Project   Class   Tree   Index 
MFC Class Library
CppDoc v2.3.1
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD