BCGSuite for MFC
int CBCGPToolBoxPage::AddButton ( LPCTSTR  lpszText,
HICON  hIcon,
BOOL  bAlphaBlend = FALSE 
)

Adds a button.

Parameters
lpszTextThe button's text.
hIconThe button's icon.
bAlphaBlendTRUE is icon was created with alpha channel.
Returns
Button's page index.