ICommDlgBrowser2 interface

Extends the capabilities of ICommDlgBrowser. This interface is exposed by the common file dialog boxes when they host a Shell browser. A pointer to ICommDlgBrowser2 can be obtained by calling QueryInterface on the IShellBrowser object.

Members

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

Methods

The ICommDlgBrowser2 interface has these methods.

MethodDescription
GetDefaultMenuText

Called by the Shell view to get the default shortcut menu text.

GetViewFlags

Called when the view must determine if special customization needs to be made for the common dialog browser.

Notify

Called by a Shell view to notify the common dialog box hosting it that an event has occurred.

 

Remarks

This interface also provides the methods of the ICommDlgBrowser interface, from which it inherits.

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

This interface is implemented only by common file dialog boxes.

Use ICommDlgBrowser2 when your Shell view is hosted inside a common dialog box.

ICommDlgBrowser2 implements all the ICommDlgBrowser methods, as well as IUnknown. The listed methods are specific to ICommDlgBrowser2.

Note  Windows Vista and later. Prior to Windows Vista this interface was declared in Shlobj.h.
 

Requirements

Minimum supported client

Windows 2000 Professional, Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Shobjidl.h

IDL

Shobjidl.idl

DLL

Shell32.dll (version 5.0 or later)

 

 

Show: