I was going to use the following project: https://github.com/scottwis/OpenFileOrFolderDialog
However, there’s a problem: it uses the GetOpenFileName
function and OPENFILENAME
structure. OPENFILENAME
has the member named templateID
, which is the identifier for dialog template. And the project contains the res1.rc
file and the templated dialog init, too. But I couldn’t figure out how to attach this file to my C# project.
Is there a better way to use an OpenFileDialog
to select folders?