Article View: borland.public.cppbuilder.nativeapi
Article #2203What is my PIDL?
From: DreamChaser
Date: Thu, 22 Mar 2007 03:10
Date: Thu, 22 Mar 2007 03:10
10 lines
1103 bytes
1103 bytes
I've been looking at the SHBrowseForFolder() API call. But I can't figure out how to set a "default" folder selection. I see that I can send a BFFM_SETSELECTION message to the dialog, but The lParam parameter is the PIDL of the folder to select. So here's my question: Given "C:\My Dir\"; How do I get the PIDL? Thanks in advance DC
Technical Details
Message-ID:
<4601f386$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,94ed64bf59cfd951,start X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Wed, 21 Mar 2007 22:10:01 -0500 From: DreamChaser <NO-Spam@No-Span.net> User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.nativeapi Subject: What is my PIDL? Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 65.6.192.60 Message-ID: <4601f386$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1174532998 65.6.192.60 (21 Mar 2007 20:09:58 -0800) Lines: 10 Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail