![]() |
Codejock Listview Subitem Icons via SendMessage |
Post Reply ![]() |
Author | |
Top3r ![]() Newbie ![]() Joined: 28 March 2012 Status: Offline Points: 8 |
![]() ![]() ![]() ![]() ![]() Posted: 25 July 2013 at 5:20am |
Hi,
im getting crazy.. Im trying to add Icons to Subitems with a Codejock Listview (using vb6) I found a Code for the Standard Listview from MS, there the Code works fine. The Problem is that in the Codejock Listview i get no error and the "Icon Space" is there, but the Icon gets not drawed.. Here my Code.. The Result with MS Listview: The Result with Codejock Listview:
The only difference in the Code from the MS Listview is that on the end they are Refreshing the Listview with lv.REFRESH But the Codejock Listview does not has this .Refresh Sub.. And the codejock Listview hasn't the ListSubitems(x).ReportIcon :( Can anybody help me?? I uploaded the Sourcecode too if someone wants to test it.. uploads/7412/Listview_Problem.zip |
|
![]() |
|
Top3r ![]() Newbie ![]() Joined: 28 March 2012 Status: Offline Points: 8 |
![]() ![]() ![]() ![]() ![]() |
no one can help me?? I need this so much ^^
|
|
![]() |
|
Willowmaster ![]() Senior Member ![]() ![]() Joined: 12 July 2010 Location: Netherlands Status: Offline Points: 180 |
![]() ![]() ![]() ![]() ![]() |
I tried to set the first column the same way you set the subitems. That doesn't work. Second I tried to get the Icon handle by calling img.Icons.GetImage(1, 16).Handle and pass I to the SetLVSubImages function, but that doesn't work either. I don't think it's possible. Why don't you try the ReportControl? It does support this function and much more.
|
|
Product: Xtreme SuitePro (ActiveX) version 15.3.1
Platform: Windows XP (32bit) - SP 3 (on VMWare) Language: Visual Basic 6.0 |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |