BCGControlBar Pro for MFC
BOOL CBCGPToolBoxPage::SetButtonUserData ( int  nItem,
DWORD_PTR  dwUserData 
)

Sets button user-defined data.

Parameters
nItemSpecifies zero-based index of a button.
dwUserDataUser-defined data associated with a button.
Returns
TRUE if it succeeds, FALSE if it fails.