void CBCGPEdit::EnableFileBrowseButton | ( | LPCTSTR | lpszDefExt = NULL , |
LPCTSTR | lpszFilter = NULL , |
||
LPCTSTR | lpszInitialFolder = NULL , |
||
DWORD | dwFlags = OFN_HIDEREADONLY|OFN_OVERWRITEPROMPT , |
||
BOOL | bThemedFileDlg = FALSE , |
||
BOOL | bOpenFileDialog = TRUE |
||
) |
Enables browse button and puts the edit control in "file browse mode".
Use this method to put the edit control in "file browse mode". In this mode the standard Windows file selection dialog appears when the user clicks on the browse button.
Use EnableBrowseButton (FALSE); in order to remove the browse button.
lpszDefExt | Specifies the default file extension to be used in the file selection dialog. |
lpszFilter | Specifies the filter to be used in the file selection dialog. |
lpszInitialFolder | Specifies the initial folder to be used in the file selection dialog. |
dwFlags | Specifies the file selection dialog flags (OFN_*). |
bThemedFileDlg | Specifies whether the file dialog should be themed. |
bOpenFileDialog | Specifies whether the file dialog type. When this parameter is TRUE, "Open File" dialog is displayed; otherwise - "Save File" dialog. |