BCGControlBar Pro for MFC
DWORD_PTR CBCGPRibbonPaletteButton::GetItemUserData ( int  nItemIndex) const

Retrieves an user-defined data asociated with the gallery item.

Parameters
nItemIndexZero-based index of the gallery item.
Returns
The user-defined data.