Article View: borland.public.cppbuilder.nativeapi
Article #8766Re: SHBrowseForFolder
From: JD
Date: Thu, 23 Sep 2004 19:04
Date: Thu, 23 Sep 2004 19:04
32 lines
1935 bytes
1935 bytes
"Vladimir Stefanovic" <spam@not.needed> wrote: > >> Include the BIF_USENEWUI flag in the ulFlags member of the >> BROWSEINFO structure. > >I thought that SHBrowseForFolder is the same as VCL DelectDirectory I think that's a type-o and you meant SelectDirectory which has 2 formats depending on the params that you pass. One is indeed a wrapper for SHBrowseForFolder but it doesn't permit you to set the ulFlags member. >when used in classic Win style, so I imagined that it does not support >any keyboard entering. I couldn't even get it create a new folder, let alone change the folder name. >Can you please get some light on it? Is there any dynamic EditBox >when BIF_USENEWUI setted? No. However, there is a button which allows you to create a new folder using the default name "New Folder" which can then be changed by right clicking it and selecting Rename from the popup menu. Then the 'New Folder' name goes into the edit mode just like it does in WindowsExplorer. Keep in mind that you have to call SHBrowseForFolder directly to get this effect. ~ JD
Technical Details
Message-ID:
<41531e32$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<4152ec9a$2@newsgroups.borland.com> <4152f862$1@newsgroups.borland.com> <4153185c@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,e32cff8ad9ed96fb X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "JD" <nospam@nospam.com> Sender: "JD" <nospam@nospam.com> Reply-To: "JD" <nospam@nospam.com> Subject: Re: SHBrowseForFolder Newsgroups: borland.public.cppbuilder.nativeapi X-User-Info: 172.156.207.250 References: <4152ec9a$2@newsgroups.borland.com> <4152f862$1@newsgroups.borland.com> <4153185c@newsgroups.borland.com> NNTP-Posting-Host: 207.105.83.66 Message-ID: <41531e32$1@newsgroups.borland.com> Date: 23 Sep 2004 12:04:18 -0700 X-Trace: newsgroups.borland.com 1095966258 207.105.83.66 (23 Sep 2004 12:04:18 -0700) Lines: 33 Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail