ISearchBoxInfo interface (shobjidl.h)

Exposes methods that allow the caller to retrieve information entered into a search box.

Inheritance

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

Methods

The ISearchBoxInfo interface has these methods.

 
ISearchBoxInfo::GetCondition

Retrieves the contents of the search box as an ICondition object.
ISearchBoxInfo::GetText

Retrieves the contents of the search box as plain text.

Remarks

The search box is shown here in a Windows Explorer window frame.

Screen shot of upper-right corner of explorer frame showing search box The frame that contains the search box might also be hosted in another window or in the common file dialog box.

To access the search dialog, use QueryService using SID_SSearchBoxInfo on a site pointer within the Windows Explorer window.

When to Implement

An implementation of this interface is provided with Windows. Third parties do not need to implement their own version.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Target Platform Windows
Header shobjidl.h