Plug-in Reference — Inline Functions — Editor_CustomBarClose

# Editor_CustomBarClose

Closes a custom bar. You can use this inline function or explicitly send the EE_CUSTOM_BAR_CLOSE message.

Editor_CustomBarClose( HWND hwnd, UINT nCustomBarID );

## Parameters

hwnd

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

nCustomBarID

Specifies the custom bar to close. This is the return value from the Editor_CustomBarOpen inline function.

## Return Values

If the message succeeds, the return value is TRUE. If the message fails, the return value is FALSE.

## Version

Supported on EmEditor Professional Version 6.00 or later.