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

Started by
2 comments, last by hajkr 22 years, 6 months ago
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
Advertisement
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--
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"
--AnkhSVN - A Visual Studio .NET Addin for the Subversion version control system.[Project site] [IRC channel] [Blog]
thx that exactly was the function i searched for.

This topic is closed to new replies.

Advertisement