BCGControlBar Pro for MFC
BOOL CBCGPListBox::IsItemPinned ( int  nIndex)

Tells whether the item is pinned or not.

Parameters
nIndexThe item's index.
Returns
TRUE if item is pinned, FALSE if not.