Open an FDLog Browse (OpenPath) dialog box.
string BrowseGetPath( LPCSTR lpcszPath = NULL, LPCSTR lpcszDialogName = NULL )
Returns the path browsed to or an empty string if Cancel button in dialog
box is clicked.
EX1
int BrowseGetPath_ex1() { string strPath; strPath = BrowseGetPath(); // or //strPath = BrowseGetPath( "C:\\Program Files\\" ); // or //strPath = BrowseGetPath( GetAppPath() + "OriginC\\", "Browse" ); if( strPath.IsEmpty() ) printf( "User has cancelled the Open dialo box." ); else printf("The choosed path is %s\n.", strPath); return 0; }
browse_get_path_dialog
origin.h