Jump to content
Sign in to follow this  

A Iconview?

Recommended Posts


Does anybody know a control to make iconview in GUI, like Control Panel.... Please help, it's urgent.

Thank you,


I can do signature me.

Share this post

Link to post
Share on other sites

i do know how...

I had to compile to get it to work

worked with

make sure you have 1.bmp, 2.bmp, and 3.bmp


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)
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)
$button = GuiCtrlCreateButton ("Select-a-Pic",10,170,100,20)

  $msg = GuiGetMsg ()
   If $msg = $button Then MsgBox(0,"listview item",GUICtrlRead(GUICtrlRead($XSkin_lst)),2)
Until $msg = $GUI_EVENT_CLOSE
Edited by DBak


Share this post

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this