CustomizedFileDialog Class Reference

#include <CustomizedFileDialog.h>

List of all members.

Public Types

enum   Style { kOpen = 0x0001, kMultiple = 0x0010 }
enum   Status { kOK = 0, kCancel, kError }

Public Member Functions

  CustomizedFileDialog (unsigned long parent, const awString::IString &title, const awString::IString &defaultDir, const awString::IString &fileTypes, int fileTypeIndex, Style style, const awString::IString &okButtonLabel="", bool forceXPStyle=false, bool makePythonSafe=false)
virtual  ~CustomizedFileDialog ()
void  addControl (CustomizedFileDialogControlRef &ctrl)
void  addPlace (const awString::IString &place)
Status  showModal ()
void  enable (bool enable=true)
const aw::vector
< awString::IString > & 
getPaths () const
int  getFileTypeIndex () const
awString::IString  getCurrentFileNameText () const
awString::IString  getCurrentFolder () const
void  onControlEvent (int id)
void  onInitDialogXP (HWND hDlg)
void  onNotifyXP (HWND hDlg, OFNOTIFY *pNotifyCode)
void  onResizeXP (int fileDlgWidth, int fileDlgHeight)
HRESULT  onSelectionChangeVista (IFileDialog *pfd)
HRESULT  onTypeChangeVista (IFileDialog *pfd)

Member Enumeration Documentation

enum Style
Enumerator:
kOpen 
kMultiple 
                 {
        kOpen             = 0x0001,
        kMultiple         = 0x0010
        //kSave           = 0x0002, not supported yet
        //kOverwritePrompt= 0x0020, not supported yet
    } Style;

Constructor & Destructor Documentation

CustomizedFileDialog ( unsigned long  parent,
const awString::IString &  title,
const awString::IString &  defaultDir,
const awString::IString &  fileTypes,
int  fileTypeIndex,
Style  style,
const awString::IString &  okButtonLabel = "",
bool  forceXPStyle = false,
bool  makePythonSafe = false 
)
virtual ~CustomizedFileDialog ( ) [virtual]

Member Function Documentation

void addPlace ( const awString::IString &  place )
void enable ( bool  enable = true )
const aw::vector<awString::IString>& getPaths ( ) const
int getFileTypeIndex ( ) const
awString::IString getCurrentFileNameText ( ) const
awString::IString getCurrentFolder ( ) const
void onControlEvent ( int  id )
void onInitDialogXP ( HWND  hDlg )
void onNotifyXP ( HWND  hDlg,
OFNOTIFY *  pNotifyCode 
)
void onResizeXP ( int  fileDlgWidth,
int  fileDlgHeight 
)
HRESULT onSelectionChangeVista ( IFileDialog *  pfd )
HRESULT onTypeChangeVista ( IFileDialog *  pfd )

CustomizedFileDialog CustomizedFileDialog CustomizedFileDialog CustomizedFileDialog CustomizedFileDialog CustomizedFileDialog CustomizedFileDialog CustomizedFileDialog CustomizedFileDialog CustomizedFileDialog
CustomizedFileDialog CustomizedFileDialog CustomizedFileDialog CustomizedFileDialog CustomizedFileDialog CustomizedFileDialog CustomizedFileDialog CustomizedFileDialog CustomizedFileDialog CustomizedFileDialog