BCGSuite for MFC
void CBCGPEdit::EnableFolderBrowseButton ( LPCTSTR  lpszTitle = NULL,
UINT  ulFlags = BIF_RETURNONLYFSDIRS,
LPCTSTR  lpszInitialFolder = NULL 
)

Enables browse button and puts the edit control in "folder browse mode".

Use this method to put the edit control in "folder browse mode". In this mode the standard Shell folder selection dialog appears when the user clicks on the browse button.

Use EnableBrowseButton (FALSE); in order to remove the browse button.