Plug-in Reference — Structures — CUSTOM_BAR_CLOSE_INFO

# CUSTOM_BAR_CLOSE_INFO

Used by EVENT_CUSTOM_BAR_CLOSED event.

    typedef struct _CUSTOM_BAR_CLOSE_INFO {
    	UINT nID;
    	int iPos;
    	DWORD dwFlags;
    } CUSTOM_BAR_CLOSE_INFO;

## Members

nID

[in] The custom bar ID.

iPos

[in] The position of the custom bar immediately before it is closed.

0 | The left side of the window.
1 | The top of the window.
2 | The right side of the window.
3 | The bottom of the window.

dwFlags

[out] The reason that the custom bar is closed.

0 | The custom bar is closed by a user.
CLOSED_FRAME_WINDOW | The frame window is being closed.
CLOSED_ANOTHER_CUSTOM_BAR | The custom bar is closed because another custom bar is opened.

## Version

Supported on EmEditor Professional Version 6.00 or later.