Plug-in Reference — Inline Functions — Editor_SetStatusW

# Editor_SetStatusW

Displays a Unicode message on the status bar. You can use this inline function or explicitly send the EE_SET_STATUSW message.

Editor_SetStatusW( HWND hwnd, LPCWSTR szStatus, UINT nFlags = 0 );

## Parameters

hwnd

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

szStatus

Specifies a massage text to be displayed on the status bar.

nFlags

Specifies a combination of the following values.

Value | Meaning
--- | ---
STATUS_FLAG_NONE | Displays a message in a normal color.
STATUS_FLAG_MESSAGE | Displays a message in the default highlight color.
STATUS_FLAG_WARNING | Displays a message in yellow .
STATUS_FLAG_ERROR | Displays a message in red.
STATUS_FLAG_ERASE_SHORTLY | Displays a message in a few seconds, and then erases it.

## Return Values

The return value is not used.