Index   Commented   Search   About

Overview
Group
Quick Info

Windows NT
Yes
Win95
Yes
Win32s
No
Import Library
-
Header File
shlobj.h
Unicode
No
Platform Notes
None

SHGNO

The SHGNO enumeration type defines flags used with the IShellFolder::GetDisplayNameOf and IShellFolder::SetNameOf methods.

typedef enum tagSHGDN {

SHGDN_NORMAL = 0,

SHGDN_INFOLDER = 1,

SHGDN_FORPARSING = 0x8000,

} SHGNO;

Members

SHGDN_NORMAL

Default display name that is suitable for a file object displayed by itself, as shown in the following examples.

File system path
Corresponding display name
C:\WINDOWS\FILE.TXT
file
\\COMPUTER\SHARE
share on computer
C:\ (where drive C has the volume name My Drive)
My Drive (C)

SHGDN_INFOLDER

Display name that is suitable for a file object displayed within its respective folder, as shown in the following examples.

File system path
Corresponding display name
C:\WINDOWS\FILE.TXT
file
\\COMP\SHARE
user
C:\ (where drive C has the volume name My Drive)
My Drive (C)

SHGDN_FORPARSING

Display name that can be passed to the ParseDisplayName method of the parent folder's IShellFolder object.

File system path
Corresponding display name
C:\WINDOWS\FILE.TXT
C:\WINDOWS\FILE.TXT
\\COMP\SHARE
\\COMP\SHARE
C:\ (where drive C has the volume name My Drive)
C:\

See Also

IShellFolder::GetDisplayNameOf
, IShellFolder::SetNameOf, ParseDisplayName

Related Links

Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
TMS Scripter Studio Pro components for Delphi/C++Builder

More Online Helps

Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages

Free Tech Secrets ;) Copyright © 2008 Free Tect Secrets ;) greatis just4fun network just4fun