FS2_Open
Open source remastering of the Freespace 2 engine
CFolderDialog Class Reference

#include <folderdlg.h>

Inheritance diagram for CFolderDialog:

Public Member Functions

 CFolderDialog (IN LPCTSTR pszTitle=NULL, IN LPCTSTR pszSelPath=NULL, IN CWnd *pWndParent=NULL, IN UINT uFlags=BIF_RETURNONLYFSDIRS)
 
virtual ~CFolderDialog (VOID)
 
virtual INT DoModal (VOID)
 
BOOL SetRootFolder (IN LPCTSTR pszPath)
 
BOOL GetRootFolder (IN OUT LPTSTR pszPath)
 
BOOL SetSelectedFolder (IN LPCTSTR pszPath)
 
AFX_INLINE LPCTSTR GetFolderPath (VOID) const
 
AFX_INLINE LPCTSTR GetFolderName (VOID) const
 
AFX_INLINE INT GetFolderImage (VOID) const
 
AFX_INLINE LPCTSTR GetSelectedFolder (VOID) const
 
AFX_INLINE BROWSEINFO & GetBI (VOID)
 
AFX_INLINE const BROWSEINFO & GetBI (VOID) const
 

Protected Member Functions

virtual VOID OnInitialized (VOID)
 
virtual VOID OnSelChanged (IN LPITEMIDLIST pItemIDList)
 
virtual INT OnValidateFailed (IN LPCTSTR)
 
virtual VOID OnIUnknown (IN IUnknown *)
 
VOID EnableOK (IN BOOL bEnable=TRUE)
 
VOID SetSelection (IN LPITEMIDLIST pItemIDList)
 
VOID SetSelection (IN LPCTSTR pszPath)
 
VOID SetStatusText (IN LPCTSTR pszText)
 
VOID SetExpanded (IN LPCTSTR pszPath)
 
VOID SetExpanded (IN LPITEMIDLIST pItemIDList)
 
VOID SetOKText (IN LPCTSTR pszText)
 

Protected Attributes

BROWSEINFO m_bi
 
TCHAR m_szSelPath [MAX_PATH]
 
TCHAR m_szFolPath [MAX_PATH]
 

Detailed Description

Definition at line 102 of file folderdlg.h.

Constructor & Destructor Documentation

CFolderDialog::CFolderDialog ( IN LPCTSTR  pszTitle = NULL,
IN LPCTSTR  pszSelPath = NULL,
IN CWnd *  pWndParent = NULL,
IN UINT  uFlags = BIF_RETURNONLYFSDIRS 
)

Definition at line 44 of file folderdlg.cpp.

CFolderDialog::~CFolderDialog ( VOID  )
virtual

Definition at line 77 of file folderdlg.cpp.

Member Function Documentation

INT CFolderDialog::DoModal ( VOID  )
virtual

Definition at line 158 of file folderdlg.cpp.

VOID CFolderDialog::EnableOK ( IN BOOL  bEnable = TRUE)
protected

Definition at line 277 of file folderdlg.cpp.

AFX_INLINE BROWSEINFO & CFolderDialog::GetBI ( VOID  )

Definition at line 177 of file folderdlg.h.

AFX_INLINE const BROWSEINFO & CFolderDialog::GetBI ( VOID  ) const

Definition at line 180 of file folderdlg.h.

AFX_INLINE INT CFolderDialog::GetFolderImage ( VOID  ) const

Definition at line 192 of file folderdlg.h.

AFX_INLINE LPCTSTR CFolderDialog::GetFolderName ( VOID  ) const

Definition at line 189 of file folderdlg.h.

AFX_INLINE LPCTSTR CFolderDialog::GetFolderPath ( VOID  ) const

Definition at line 186 of file folderdlg.h.

BOOL CFolderDialog::GetRootFolder ( IN OUT LPTSTR  pszPath)

Definition at line 139 of file folderdlg.cpp.

AFX_INLINE LPCTSTR CFolderDialog::GetSelectedFolder ( VOID  ) const

Definition at line 174 of file folderdlg.h.

VOID CFolderDialog::OnInitialized ( VOID  )
protectedvirtual

Definition at line 186 of file folderdlg.cpp.

VOID CFolderDialog::OnIUnknown ( IN IUnknown )
protectedvirtual

Definition at line 208 of file folderdlg.cpp.

VOID CFolderDialog::OnSelChanged ( IN LPITEMIDLIST  pItemIDList)
protectedvirtual

Definition at line 192 of file folderdlg.cpp.

INT CFolderDialog::OnValidateFailed ( IN  LPCTSTR)
protectedvirtual

Definition at line 202 of file folderdlg.cpp.

VOID CFolderDialog::SetExpanded ( IN LPCTSTR  pszPath)
protected

Definition at line 252 of file folderdlg.cpp.

VOID CFolderDialog::SetExpanded ( IN LPITEMIDLIST  pItemIDList)
protected

Definition at line 319 of file folderdlg.cpp.

VOID CFolderDialog::SetOKText ( IN LPCTSTR  pszText)
protected

Definition at line 265 of file folderdlg.cpp.

BOOL CFolderDialog::SetRootFolder ( IN LPCTSTR  pszPath)

Definition at line 95 of file folderdlg.cpp.

BOOL CFolderDialog::SetSelectedFolder ( IN LPCTSTR  pszPath)

Definition at line 147 of file folderdlg.cpp.

VOID CFolderDialog::SetSelection ( IN LPITEMIDLIST  pItemIDList)
protected

Definition at line 286 of file folderdlg.cpp.

VOID CFolderDialog::SetSelection ( IN LPCTSTR  pszPath)
protected

Definition at line 296 of file folderdlg.cpp.

VOID CFolderDialog::SetStatusText ( IN LPCTSTR  pszText)
protected

Definition at line 307 of file folderdlg.cpp.

Member Data Documentation

BROWSEINFO CFolderDialog::m_bi
protected

Definition at line 134 of file folderdlg.h.

TCHAR CFolderDialog::m_szFolPath[MAX_PATH]
protected

Definition at line 137 of file folderdlg.h.

TCHAR CFolderDialog::m_szSelPath[MAX_PATH]
protected

Definition at line 136 of file folderdlg.h.


The documentation for this class was generated from the following files: