[code=fw:2p030p2x][/code:2p030p2x]
HB_FUNC( TVINSERTITEM ) // ( hWnd, cItemText, hItem, nImage )
...
is.item.iImage = hb_parnl( 4 );
is.item.iSelectedImage = hb_parnl( 4 );
[url:2p030p2x]https://msdn.microsoft.com/en-us/library/windows/desktop/bb773456(v=vs.85).aspx[/url:2p030p2x]
[quote:2p030p2x]iImage
Index in the tree-view control's image list of the icon image to use when the item is in the nonselected state[/quote:2p030p2x]
[quote:2p030p2x]iSelectedImage
Type: int
Index in the tree-view control's image list of the icon image to use when the item is in the selected state[/quote:2p030p2x]
↧