| CBCGPFileDialogEx::CBCGPFileDialogEx | ( | BOOL | bOpenFileDialog, |
| LPCTSTR | lpszDefExt = NULL, |
||
| LPCTSTR | lpszFileName = NULL, |
||
| DWORD | dwFlags = OFN_HIDEREADONLY|OFN_OVERWRITEPROMPT, |
||
| LPCTSTR | lpszFilter = NULL, |
||
| CWnd * | pParentWnd = NULL, |
||
| DWORD | dwSize = 0, |
||
| BOOL | bVistaStyle = TRUE, |
||
| CBCGPFileDialogOptions * | pOptions = NULL, |
||
| UINT | nDlgResID = 0 |
||
| ) |
Constructor.
| bOpenFileDialog | Specifies a type of dialog box: TRUE - "File Open", FALSE - "File Save As". |
| lpszDefExt | Specifies a default file name extension. |
| lpszFileName | The initial file name. |
| dwFlags | A combination of OFN_ flags. |
| lpszFilter | Specifies the filter. |
| pParentWnd | A pointer to the parent window. |
| dwSize | Not used. |
| bVistaStyle | Not used. |
| pOptions | A pointer to CBCGPFileDialogOptions object. |
| nDlgResID | A dialog resource ID. Used in CBCGPFileDialogEx-derived classes. |