BCGSuite for MFC
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.

Parameters
lpszDefExtSpecifies the default file extension to be used in the file selection dialog.
lpszFilterSpecifies the filter to be used in the file selection dialog.
lpszInitialFolderSpecifies the initial folder to be used in the file selection dialog.
dwFlagsSpecifies the file selection dialog flags (OFN_*).
bThemedFileDlgSpecifies whether the file dialog should be themed.
bOpenFileDialogSpecifies whether the file dialog type. When this parameter is TRUE, "Open File" dialog is displayed; otherwise - "Save File" dialog.