Editor_CustomBarOpen

Opens a custom bar. If a custom bar is already open before sending this message, EmEditor closes the custom bar, and opens a new custom bar. You can use this inline function or explicitly send the EE_CUSTOM_BAR_OPEN message.

Editor_CustomBarOpen( HWND hwnd, CUSTOM_BAR_INFO* pCustomBarInfo );

Parameters

pCustomBarInfo

Pointer to the CUSTOM_BAR_INFO structure.

Return Values

The return value is a custom bar ID, which is necessary when the custom bar is closed with the Editor_CustomBarClose inline function. If the message fails, the return value is zero.

Version

Supported on EmEditor Professional Version 6.00 or later.