Skip to content

citizenTwice/dirdlg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

screenshot

DIRDLG

Self-contained custom directory-selection dialog C++ class for Win32 applications.

Why

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.

Features

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

Example

   #include "dirdlg.h"
   #include <iostream>
   ...
   auto s = DIRDLG{}.get_dir(".");
   if (s) {
     std::cout << s << " selected\n";
   }

License

MIT License

Feedback

Bugs/Suggestions/Comments/Feedback to:

Finally

Thanks for visting!

About

Custom directory selection dialog C++ class for Win32 apps

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages