Index   Commented   Search   About

Quick Info

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

IShellView::GetCurrentInfo

[Now Supported on Windows NT]

Obtains information about the current folder settings.

HRESULT GetCurrentInfo(

LPFOLDERSETTINGS lpfs
// Points to the folder settings
);

Parameters

lpfs

Pointer to a FOLDERSETTINGS structure to receive the settings.

Return Values

Returns NOERROR if successful or an OLE-defined error value otherwise.

Remarks

The Explorer uses GetCurrentInfo to query the view for standard settings.

Notes to Callers

Used to get the current view settings of the view.

Notes to Implementors

Return as many of the settings as apply. This is intended to let browsing from view to view maintain the same basic settings. For example, if the user sets Details view, going from one folder to the other in Explorer mode, it should remain in Details view.

See Also

IShellView

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