BCGControlBar Pro for MFC
virtual void CBCGPEditListBase::OnClickButton ( int  iButton)

Called when the use clicks the button

The framework calls this function when the user presses any button that has been added either by AddButton() or SetStandardButtons() function. The base implementation handles only standard buttons. You have to override the OnClickButton function in order to process custom button commands. The overridden version will be called before the command is routed to the base (CStatic) object.

iButtonA button index