TalanSoft Toolkits  201707
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Groups Pages
Public Member Functions | Protected Attributes | List of all members
OpenFile Class Reference

Detailed Description

Wrapper around the open common dialog.

Public Member Functions

 OpenFile ()
 
virtual ~OpenFile ()
 
bool GetFile (const TCHAR *pszDlgTitle=_T("Open"), const TCHAR *pszFilter=_T("All Files (*.*)\0*.*\0\0"), const TCHAR *pszDefExt=_T("*.*"), const TCHAR *pszFile=NULL, const TCHAR *pszInitDir=NULL, HWND hWndParent=NULL, DWORD dwFlags=0)
 
const TCHAR * GetFileName () const
 

Protected Attributes

TCHAR m_szFileNameOut [_MAX_PATH]
 

Constructor & Destructor Documentation

OpenFile ( )
virtual ~OpenFile ( )
virtual

Member Function Documentation

bool GetFile ( const TCHAR *  pszDlgTitle = _T("Open"),
const TCHAR *  pszFilter = _T("All Files (*.*)\0*.*\0\0"),
const TCHAR *  pszDefExt = _T("*.*"),
const TCHAR *  pszFile = NULL,
const TCHAR *  pszInitDir = NULL,
HWND  hWndParent = NULL,
DWORD  dwFlags = 0 
)
const TCHAR* GetFileName ( ) const

Member Data Documentation

TCHAR m_szFileNameOut[_MAX_PATH]
protected