Plug-in Reference — Messages — EE_CUSTOM_BAR_OPEN

# EE_CUSTOM_BAR_OPEN

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

    EE_CUSTOM_BAR_OPEN
    wParam = 0;
    lParam = (LPCTSTR) (LPCTSTR) 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 EE_CUSTOM_BAR_CLOSE message. If the message fails, the return value is zero.

## Version

Supported on EmEditor Professional Version 6.00 or later.