Index   Commented   Search   About

Quick Info

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

ICommDlgBrowser::IncludeObject

[Now Supported on Windows NT]

IncludeObject is used to allow the common dialog filter objects that the view presents.

HRESULT IncludeObject(

LPCITEMIDLIST pidl
//Pointer to an identifier list.
);

Parameters

pidl

Pointer to a identifier list (IDLIST) that is relative to the folder.

Return Values

The browser should return S_OK to include the object in the view, S_FALSE to hide it.

Remarks

IncludeObject
is called by the IEnumIDList implementation when hosted in the file dialogs. The enumerator should call this function to let the common dialog filter out objects it does not want to display. Typically, the file dialogs will get the display text of the item, and filter by the extension.

Notes to Callers

Call before returning an object in the shell folder's IDList enumerator.

See Also

ICommDlgBrowser

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