Plug-in Reference — Inline Functions — Editor_OutputString

# Editor_OutputString

Appends a string to the output bar. You can use this inline function or explicitly send the EE_OUTPUT_STRING message.

Editor_OutputString( HWND hwnd, LPCWSTR szString, UINT nFlags );

## Parameters

hwnd

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

szString

Specifies the string to be appended.

nFlags

Specifies a combination of the following values.

FLAG_OPEN_OUTPUT | Opens the output bar.
FLAG_CLOSE_OUTPUT | Closes the output bar.
FLAG_FOCUS_OUTPUT | Sets the keyboard focus to the output bar.
FLAG_CLEAR_OUTPUT | Clears the output bar.

## Return Values

If the message succeeds, the return value is nonzero. If the message fails, the return value is zero.

## Version

Supported on EmEditor Version 7.00 or later.