🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #1168

IShellFolder::GetDisplayNameOf FileName with extension

#1168
From: Asger Jørgensen
Date: Thu, 18 Oct 2007 19:56
20 lines
1287 bytes
Hi there

How do I get the filename with extension, but 
without the path.

In the helpfile under GetDisplayNameOf there is three
options

SHGDN_NORMAL
and
SHGDN_INFOLDER
seems to give the same result, the filename with or 
without extension acording to what the user have 
chosen for the explorer.

SHGDN_FORPARSING
and this one gives the full path

Thanks in advance
Asger
Technical Details
Message-ID: <MPG.2181d8e14a7e5fb989858@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!62.111.101.3.MISMATCH!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,837423057db5c2d9,start
X-Google-Attributes: gid10cc67,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Asger Jørgensen <junk@Asger-P.dk>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: IShellFolder::GetDisplayNameOf  FileName with extension
Date: Thu, 18 Oct 2007 21:56:43 +0200
Message-ID: <MPG.2181d8e14a7e5fb989858@newsgroups.borland.com>
Organization: Asger-P
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
User-Agent: MicroPlanet-Gravity/2.70.2067
NNTP-Posting-Host: 83.73.201.25
X-Trace: newsgroups.borland.com 1192737392 83.73.201.25 (18 Oct 2007 12:56:32 -0700)
Lines: 20
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!62.111.101.3.MISMATCH!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail