i542 Posted December 4, 2007 Share Posted December 4, 2007 Does anybody know a control to make iconview in GUI, like Control Panel.... Please help, it's urgent. Thank you, i542. I can do signature me. Link to comment Share on other sites More sharing options...
DirtDBaK Posted December 4, 2007 Share Posted December 4, 2007 (edited) i do know how... I had to compile to get it to work worked with 3.2.8.1 make sure you have 1.bmp, 2.bmp, and 3.bmp 48x48 Also i didn't write this not sure who i just remebered saving it It doesnt come out perfect it makes some black marks in the coner... #include <GUIConstants.au3> ; Picture location Dim $Picture1 = @ScriptDir & '\1.bmp' Dim $Picture2 = @ScriptDir & '\2.bmp' Dim $Picture3 = @ScriptDir & '\3.bmp' GUICreate("listview pics", 400, 200 ) $XSkin_lst = GuiCtrlCreateListView ("",10,10,120,150) GUICtrlSetStyle(-1, BitOR($LVS_SHOWSELALWAYS, $LVS_SINGLESEL)) for $x = 1 to 5 GUICtrlCreateListViewItem("Picture Here", $XSkin_lst) GUICtrlSetImage(-1, $Picture1, 0) GUICtrlCreateListViewItem("Another Here", $XSkin_lst) GUICtrlSetImage(-1, $Picture2, 0) GUICtrlCreateListViewItem("Guess what's Here", $XSkin_lst) GUICtrlSetImage(-1, $Picture3, 0) Next $button = GuiCtrlCreateButton ("Select-a-Pic",10,170,100,20) GuiSetState() Do $msg = GuiGetMsg () If $msg = $button Then MsgBox(0,"listview item",GUICtrlRead(GUICtrlRead($XSkin_lst)),2) Until $msg = $GUI_EVENT_CLOSE Edited December 4, 2007 by DBak [center][/center] 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