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

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

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.

iButtonNumSpecifies a button's index