Editor_ToolbarShow

Shows or hides a custom toolbar. You can use this inline function or explicitly send the EE_TOOLBAR_SHOW message.

Editor_ToolbarShow( HWND hwnd, UINT nCustomRebarID, BOOL bVisible );

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.

bVisible

Specifies TRUE if the toolbar should be visible, or FALSE if the toolbar should be hidden.

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.