BCGSuite for MFC
int CBCGPGridItem::FindOptionByData ( DWORD_PTR  dwData,
int  nStartIndex = -1 
) const

Searches for the option by data.

Parameters
dwDataUser-defined data.
nStartIndexThe start index.
Returns
A zero-based index of the option or -1 if option wasn't found.