I use the SHBrowseForFolder to select a Folder to store files.

It all works fine however the window that is loaded with the directory tree is very narrow and difficult to easily navigate to the appropriate folder.

Is it possible to allow the user to increase the size of this window or can anyone reccomend a better way of selecting a folder.

Thanks in advance

Don't know as I have never tried but an API to look at for doing such a thing would be SetWindowPos...

Good Luck

Why not use a custom control such as FolderView (http://www.ssware.com/fldrview.htm)? It is much more flexible and also comes with a ready-made FolderBrowsrDialog which use FolderView instead of the system folder tree control.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.