Edit_EnableSearchWeb macro (commctrl.h)

Enables or disables the "Search with Bing…" context menu item in edit controls. You can use this macro or send the EM_ENABLESEARCHWEB message explicitly.

Syntax

void Edit_EnableSearchWeb(
   hwndCtl,
   enable
);

Parameters

hwndCtl

A handle to the edit control.

enable

TRUE to enable web search, or FALSE to disable it.

Return value

None

Requirements

Requirement Value
Minimum supported client Windows 10, version 1809 [desktop apps only]
Minimum supported server Windows Server [desktop apps only]
Target Platform Windows
Header commctrl.h