Adams100 Posted May 27, 2014 Posted May 27, 2014 An example I whipped up: #include <GUIConstantsEx.au3> #include <GUIListView.au3> #include <GuiImageList.au3> GUICreate("gui", 679, 343, 192, 124) Global $list = GUICtrlCreateListView("column1|column2|colum3", 8, 8, 610, 259) _GUICtrlListView_SetExtendedListViewStyle($list, BitOR($LVS_EX_FULLROWSELECT, $LVS_EX_SUBITEMIMAGES)) Global $hImage = _GUIImageList_Create(16, 16, 5, 1) _GUIImageList_AddIcon($hImage, @SystemDir & "\shell32.dll", 22) _GUICtrlListView_SetImageList($list, $hImage, 1) GUICtrlCreateListViewItem("text|icon|more text", $list) GUICtrlSetBkColor(-1, 0xC3A3FC) _GUICtrlListView_SetColumnWidth($list, 0, 200) _GUICtrlListView_SetColumnWidth($list, 1, 200) _GUICtrlListView_SetColumnWidth($list, 2, 200) _GUICtrlListView_SetItemImage($list, 0, 0, 1) GUISetState(@SW_SHOW) Do Until GUIGetMsg() = $GUI_EVENT_CLOSE It just doesn't look right. Is there any way to make the Icon have a transparent (see-through) background? That way it would blend in with the background color of the row. I hope there's a simple solution. I couldn't find a way to do this.
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