ICommDlgBrowser2 interface (shobjidl_core.h)

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.

Inheritance

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

Methods

The ICommDlgBrowser2 interface has these methods.

 
ICommDlgBrowser2::GetDefaultMenuText

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

Called when the view must determine if special customization needs to be made for the common dialog browser.
ICommDlgBrowser2::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

Requirement Value
Minimum supported client Windows 2000 Professional, Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header shobjidl_core.h (include Shobjidl.h)