Archived

This topic is now archived and is closed to further replies.

hajkr

How to generate a folder-dialog under Windows...

Recommended Posts

hajkr    122
Hello, My Question is: which function of the win32api do i need too generate this folder search Dialog that is for example generated when you click in your Start->Search->File/Folder and then in this dialog to "Browse...". thx

Share this post


Link to post
Share on other sites
I''ve been stuck on that problem for quite some time, and don''t want to go through a book to learn windows graphics for just one dialog box. If you would like, I can give you my code for creating such a box in DirectX. I''ve coded it myself and it''s not all the way finished, but it might help. If you need help, IM me on AOL or AIM at ImmigrantMarbles. My EMail is VChelaru@hotmail.com, but I almost never check it and would much rather have you IM me.

--Vic--

Share this post


Link to post
Share on other sites
Arild Fines    968
The function you need is SHBrowseForFolder. It can be found here on MSDN. The example there is a bit more complicated than necessary though.

"A society without religion is like a crazed psychopath without a loaded .45"

Share this post


Link to post
Share on other sites