Self-contained custom directory-selection dialog C++ class for Win32 applications.
I'm not happy with SHBrowseForFolder and the stock file dialogs, as I don't like click/expand trees as well as the fact that the inital directory parameter sometimes gets ignored.
Not much to report, but:
- Header-only library with no resource/.rc files dependency
- Path autocompletion
- Fast keyboard naviagtion, including these shortcuts:
- \ = go to root dir
- <backspace> = go to parent dir
- F1 = volume select
#include "dirdlg.h"
#include <iostream>
...
auto s = DIRDLG{}.get_dir(".");
if (s) {
std::cout << s << " selected\n";
}
MIT License
Bugs/Suggestions/Comments/Feedback to:
- Email: feedback@THLG.NL
Thanks for visting!