BCGControlBar Pro for MFC
void CBCGPRibbonPaletteButton::SetItemUserData ( int  nItemIndex,
DWORD_PTR  dwUserData 
)

Set user data associated with the gallery item.

Parameters
nItemIndexZero-based index of the gallery item.
dwUserDataUser-defined data.