PDA

View Full Version : Browse for folder



NewsArchive
06-23-2009, 01:56 AM
Hi,

is it possible to hide / disable the "create new Folder"-button on the
"browse for folder"-dialog?

Markus

NewsArchive
06-23-2009, 01:56 AM
> is it possible to hide / disable the "create new Folder"-button on the
> "browse for folder"-dialog?

Such a flag is not built-in because it requires the "Shell and Common
Controls" version 6.0.

We can add an BIF_NONEWFOLDERBUTTON option to one of the next SB7 builds to
support this. But it will only work with Shell and Common Controls version
6.0 or higher.

--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910

SetupBuilder is installation -- "point. click. ship"

-- Official Comodo Code Signing and SSL Certificate Partner

NewsArchive
06-23-2009, 01:57 AM
So it would work on Win XP and higher. This would be good enough for me.
It should work with Win2000, but MS has confirmed, that there is a
unfixed bug in Shell and Common COntrols 5.0

Markus

NewsArchive
06-23-2009, 01:58 AM
Hi Friedrich,

it does work under W2k too. See attached screenshot.

Markus

NewsArchive
06-23-2009, 01:58 AM
>
> it does work under W2k too. See attached screenshot.
>

According to MSDN, it's only available in Shell32.dll Version 6.

http://msdn.microsoft.com/en-us/library/bb773205(VS.85).aspx

--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910

SetupBuilder is installation -- "point. click. ship"

-- Official Comodo Code Signing and SSL Certificate Partner

NewsArchive
06-23-2009, 01:59 AM
Hi Friedrich,

now I believe to know the difference: You use the
"BIF_NEWDIALOGSTYLE"-Flag or the "BIF_USENEWUI"-Flag. Then, you are
right. With these flags, you need at least V6.0 to hide the "New
Folder"-button. So I would suggest the following solution (pseudo code)
to hide the "new folder"-button:

if Version of shell32.dll less than 6.0 than
DO NOT SET BIF_USENEWUI, BIF_NEWDIALOGSTYLE
else
SET BIF_USENEWUI, BIF_NONEWFOLDERBUTTON

What do you think?

Markus

NewsArchive
05-06-2011, 01:06 PM
Hi Friedrich,

some news about this?

Markus

NewsArchive
05-06-2011, 01:06 PM
Hi Markus,

>
> some news about this?
>

This is already implemented in SB8 as an option.

Friedrich