Change Image in CListViewCtrl 
Author Message
 Change Image in CListViewCtrl

hi all.
i have ATL project where use CListViewCtrl. i want change image for item
when same event happend, for visualisation state this item. How i can to do
this. i don't know how i can change image in working list ctrl. may be
anybody can help me?


Tue, 27 Apr 2004 21:31:27 GMT  
 Change Image in CListViewCtrl
myListCtrl.SetItem(nItem, 0, LVIF_IMAGE, 0, nNewImageIndex, 0, 0, 0);

--
With best wishes,
    Igor Tandetnik

"For every complex problem, there is a solution that is simple, neat, and
wrong." H.L. Mencken


Quote:
> hi all.
> i have ATL project where use CListViewCtrl. i want change image for item
> when same event happend, for visualisation state this item. How i can to
do
> this. i don't know how i can change image in working list ctrl. may be
> anybody can help me?



Tue, 27 Apr 2004 23:31:16 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. CListViewCtrl and DragAndDrop

2. WTL CListViewCtrl

3. Superclassing CListViewCtrl (ATL)

4. Flicker during resize in CListViewCtrl

5. OnPaint override on CListViewCtrl?

6. WTL & CListViewCtrl

7. Deleting Selected items in CListViewCtrl

8. CListViewCtrl

9. How to get FullRowSelect to select whole row in CListViewCtrl

10. Wrapping column headers in CListViewCtrls

11. CListViewCtrl stupid question

12. Images,Images,Images...

 

 
Powered by phpBB® Forum Software