ICommDlgBrowser interface

Exposed by the common file dialog boxes to be used when they host a Shell browser. If supported, ICommDlgBrowser exposes methods that allow a Shell view to handle several cases that require different behavior in a dialog box than in a normal Shell view. You obtain an ICommDlgBrowser interface pointer by calling QueryInterface on the IShellBrowser object.

Members

The ICommDlgBrowser interface inherits from the IUnknown interface. ICommDlgBrowser also has these types of members:

Methods

The ICommDlgBrowser interface has these methods.

MethodDescription
IncludeObject

Allows the common dialog box to filter objects that the view displays.

OnDefaultCommand

Called when a user double-clicks in the view or presses the ENTER key.

OnStateChange

Called after a state, identified by the uChange parameter, has changed in the IShellView interface.

 

Remarks

Note   In Windows XP and earlier, this interface was defined in Shlobj.h.

This interface is implemented only by the common file dialog boxes.

Use ICommDlgBrowser when you need to provide special behavior while hosted inside the common dialog boxes.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Shobjidl.h

IDL

Shobjidl.idl

DLL

Shell32.dll (version 4.0 or later)

 

 

Community Additions

ADD
Show:
© 2014 Microsoft