Usually, I use SHBrowseForFolder to support browsing for a folder… but I want to support both Windows and OSX.
I looked at:
System.IOUtilsbut didn’t find any relevant function (maybe, I missed
one?)TOpenDialogoptions but didn’t find one to pick a folder instead of a file…
Any idea?
(I can manage ifdef for Windows but I have no clue for the Mac part…)
Cheers,
W.
Try using the
NSOpenPanelclass, Jeremy North publish a sample a few weeks ago SelectDirectory for OS X.