Contents Index Topic Contents | ||
Previous Topic: ICommDlgBrowser Next Topic: ICommDlgBrowser::OnDefaultCommand |
ICommDlgBrowser::IncludeObject
HRESULT IncludeObject( IShellView * ppshv, LPCITEMIDLIST pidl );Allows the common dialog to filter objects that the view displays.
- The browser should return S_OK to include the object in the view, or S_FALSE to hide it.
- ppshv
- IShellFolder interface address of the view.
- pidl
- Address of an identifier list (IDLIST) that is relative to the folder.
This method is called by the IEnumIDList implementation when hosted in the file dialogs. The enumerator should call this method to let the common dialog filter out objects that should not be displayed. 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
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.