Show/Hide Toolbars

EmEditor Help

Navigation: EmEditor Help > Plug-in Reference > Inline Functions

EmEditor Plug-in Reference: Editor_InsertStringA

Scroll Prev Top Next More
EmEditor Home - EmEditor Help - Plug-in Reference - Inline Functions

Editor_InsertStringA

Inserts an ANSI string into the current cursor position. This may overwrite the existing string depending on the current Properties. You can use this inline function or explicitly send the EE_INSERT_STRINGA message.

Editor_InsertStringA( HWND hwnd, LPCSTR szString, bool bKeepDestReturnType = false );

Parameters

hwnd

Specifies the window handle of the view or frame of EmEditor.

szString

Specifies the string to be inserted.

bKeepDestReturnType

Specifies that the destination return type (CR only, LF only or both CR and LF) should be kept. When this parameter is omitted, EmEditor keeps the return type specified in the szString parameter.

Return Values

The return value is not used.

Copyright © 2003-2016 by Emurasoft, Inc.