Skip to content

Latest commit

 

History

History
71 lines (58 loc) · 2.15 KB

nf-windowsx-edit_replacesel.md

File metadata and controls

71 lines (58 loc) · 2.15 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:windowsx.Edit_ReplaceSel
Edit_ReplaceSel macro (windowsx.h)
Replaces the selected text in an edit control or a rich edit control with the specified text. You can use this macro or send the EM_REPLACESEL message explicitly.
Edit_ReplaceSel
Edit_ReplaceSel macro [Windows Controls]
_win32_Edit_ReplaceSel
_win32_Edit_ReplaceSel_cpp
controls.Edit_ReplaceSel
controls._win32_Edit_ReplaceSel
windowsx/Edit_ReplaceSel
controls\Edit_ReplaceSel.htm
Controls
VS|Controls|~\controls\editcontrols\editcontrolreference\editcontrolmacros\edit_replacesel.htm
12/05/2018
Edit_ReplaceSel, Edit_ReplaceSel macro [Windows Controls], _win32_Edit_ReplaceSel, _win32_Edit_ReplaceSel_cpp, controls.Edit_ReplaceSel, controls._win32_Edit_ReplaceSel, windowsx/Edit_ReplaceSel
windowsx.h
Windows
Windows Vista [desktop apps only]
Windows Server 2003 [desktop apps only]
Windows
19H1
Edit_ReplaceSel
windowsx/Edit_ReplaceSel
c++
APIRef
kbSyntax
HeaderDef
Windowsx.h
Edit_ReplaceSel

Edit_ReplaceSel macro

-description

Replaces the selected text in an edit control or a rich edit control with the specified text. You can use this macro or send the EM_REPLACESEL message explicitly.

-parameters

-param hwndCtl

Type: HWND

A handle to the control.

-param lpszReplace

Type: LPCTSTR

A pointer to a null-terminated string containing the replacement text.

-remarks

For more information, see EM_REPLACESEL.