BCGSuite for MFC
CBCGPToolBoxButton* CBCGPToolBoxPage::GetButtonByID ( int  nID)

Finds a button by specified ID.

Returns
A valid pointer to button, or NULL if the button with specified ID is not found.

Call this function to find a button by ID.

Parameters
nIDSpecifies button command ID.