|
From: <or...@vp...> - 2003-01-04 02:58:11
|
Hello! Danny Roelofs wrote: > In my upcomming application i am writing for windows i want to add a > button in its GUI which makes it enable to popup a > filebrowser or directorybrowser. i am looking for examples on this > matter. i gues the standard explorer of windows can > be used i gues but i don't know what is required.. I suppose you have Win32 SDK. Look for GetOpenFileName() and GetSaveFileName(). Don't forget to include commdlg.h These functions are used to browse for files. If you want to browse for folders, you may either play with the above functions to dig out the dir, or use SHBrowseForFolder(). Read "Shell's namespace" thoroughly for details. It is a bit more complicated to use, but not so. It has a complete example for your problem. -- Greetings, Balázs |