BCGControlBar Pro for MFC
UINT CBCGPEditListBase::GetButtonID ( int  iButtonNum) const

Given a button's index returns the button's ID.

Returns
A button's ID if the button with the specified index does exist; otherwise 0.

Call this function to retrieve a button's ID. Every button ID (for standard and custom buttons) is mapped to button index.

Parameters
iButtonNumSpecifies a button's index