BCGControlBar Pro for MFC
virtual int CBCGPShellList::OnGetItemIcon ( int  iItem,
LPBCGCBITEMINFO  pItem 
)
virtual

Retrieves an item icon.

Returns
Index of the icon image within the system image list. It is -1 if the function fails.

Call this function to retrieve a Shell item icon.

Parameters
iItemA list control item index.
pItemA pointer to BCGCBITEMINFO that describes the item whose icon is to be retrieved.