crashrpt2
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
WTL::CFolderDialogImpl< T > Class Template Reference

Public Member Functions

 CFolderDialogImpl (HWND hWndParent=NULL, LPCTSTR lpstrTitle=NULL, UINT uFlags=BIF_RETURNONLYFSDIRS)
 
INT_PTR DoModal (HWND hWndParent=::GetActiveWindow())
 
void SetInitialFolder (LPCTSTR lpstrInitialFolder, bool bExpand=true)
 
void SetInitialSelection (LPCITEMIDLIST pidl, bool bExpand=true)
 
void SetRootFolder (LPCITEMIDLIST pidl)
 
LPITEMIDLIST GetSelectedItem (bool bDetach=false)
 
LPCTSTR GetFolderPath () const
 
LPCTSTR GetFolderDisplayName () const
 
int GetFolderImageIndex () const
 
void OnInitialized ()
 
void OnSelChanged (LPITEMIDLIST)
 
int OnValidateFailed (LPCTSTR)
 
void OnIUnknown (IUnknown *)
 
void EnableOK (BOOL bEnable)
 
void SetSelection (LPCITEMIDLIST pItemIDList)
 
void SetSelection (LPCTSTR lpstrFolderPath)
 
void SetStatusText (LPCTSTR lpstrText)
 
void SetOKText (LPCTSTR lpstrOKText)
 
void SetExpanded (LPCITEMIDLIST pItemIDList)
 
void SetExpanded (LPCTSTR lpstrFolderPath)
 

Static Public Member Functions

static int CALLBACK BrowseCallbackProc (HWND hWnd, UINT uMsg, LPARAM lParam, LPARAM lpData)
 

Public Attributes

BROWSEINFO m_bi
 
LPCTSTR m_lpstrInitialFolder
 
LPCITEMIDLIST m_pidlInitialSelection
 
bool m_bExpandInitialSelection
 
TCHAR m_szFolderDisplayName [MAX_PATH]
 
TCHAR m_szFolderPath [MAX_PATH]
 
LPITEMIDLIST m_pidlSelected
 
HWND m_hWnd
 

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