Plug-in Reference — Inline Functions — Editor_ToolbarClose

# Editor_ToolbarClose

Closes a custom toolbar. You can use this inline function or explicitly send the EE_TOOLBAR_CLOSE message.

Editor_ToolbarClose( HWND hwnd, UINT nCustomRebarID );

## Parameters

hwnd

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

nToolbarID

Specifies the toolbar to close. This is the return value from the EE_TOOLBAR_OPEN message.

## Return Values

If the message succeeds and the toolbar state has been changed, the return value is TRUE. If the message fails or the toolbar state has not been changed, the return value is FALSE.

## Version

Supported on EmEditor Professional Version 7.00 or later.