Libre Posted March 15, 2006 Share Posted March 15, 2006 (edited) I wanna insert an image.JPG in my listview item, i have been looking a lot but nothing. $List_1 = GUICtrlCreateListView("one|two|three|IMAGEPLEASE", 30, 60, 320, 150) GUICtrlSendMsg($List_1, $LVM_SETEXTENDEDLISTVIEWSTYLE, $LVS_EX_FULLROWSELECT, $LVS_EX_FULLROWSELECT) GUICtrlSendMsg($List_1, $LVM_SETEXTENDEDLISTVIEWSTYLE, $LVS_EX_CHECKBOXES, $LVS_EX_CHECKBOXES) GUICtrlSendMsg($List_1, $LVM_SETEXTENDEDLISTVIEWSTYLE, $LVS_EX_SUBITEMIMAGES, $LVS_EX_SUBITEMIMAGES) func DibujaTablaFiles($inifile) _GUICtrlListViewDeleteAllItems($List_1) $var = IniReadSectionNames($inifile) For $a = 1 To $var[0] $ProgData = IniReadSection ( $inifile, $var[$a] ) GUICtrlCreateListViewItem("|"& $ProgData[1][1] & "|" & $ProgData[2][1] & "|" & $ProgData[3][1] & "|" & $ProgData[4][1] ,$List_Progs) Next Return $var EndFunc Edited March 15, 2006 by Libre I love this Game :p----------------------Freeware Multilange support or Translate your scripts----------------------aNyBoDy KnOwS WhY A LiGhT iN My KeYbOaRd iS aLlWaIs BlInKiNg !?Who is "General Failure" and what is he doing in my hard disk !!!!!? Link to comment Share on other sites More sharing options...
Polyphem Posted April 7, 2006 Share Posted April 7, 2006 I wanna insert an image.JPG in my listview item, i have been looking a lot but nothing.Hm, the same here. I looked into the _GuiListView UDF and ended somewhere in the _GUICtrlListViewSetItemText Function. Looked up Google and found some C source saying something about $LVIF_IMAGE (0x2) to be used for the dll call, but thats where I'm stuck. Any pro around willing to take a look? Thanks... This post will be edited again by Polyphem: Tomorrow, 11:55 AM Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now