Open dialog to select multiple folders and return their paths.
int okoc_folder_browser(LPCSTR lpcszInitDir, StringArray* saFolders)
Return the number of folders selected.
EX1
#include <okocUtils.h> void folder_browser_ex1() { vector<string> vsFolders; int nRet = okoc_folder_browser("K:\\OriginPro91", &vsFolders); printf("%d folders selected!\n", nRet); for ( int ii = 0; ii < nRet; ii++ ) printf("Folder%d: %s\n", ii + 1, vsFolders[ii]); return; }
origin.h, okocUtils.h