Can we add icons for specific tree items?
I am adding items with icon using following function:
HTREEITEM InsertItem(LPCTSTR lpszItem,int nImage,int nSelectedImage,HTREEITEM hParent = TVI_ROOT,HTREEITEM hInsertAfter = TVI_LAST);
To skip icon for an item, i am using -1 value for nImage
and nSelectedImage
. By doing this, icon is not appearing but space is coming.