Madza91 Posted March 6, 2009 Share Posted March 6, 2009 Hello, i created this example script to ask, why is background of icon black instead transparent, and is it possible to fix that? #include <GUIConstantsEx.au3> #include <GUIListView.au3> #include <GuiImageList.au3> $Form1 = GUICreate("Form1", 479, 343, 192, 124) $list = GUICtrlCreateListView("Something",8, 8, 210, 259) $hImage = _GUIImageList_Create() _GUIImageList_AddIcon($hImage, @SystemDir & "\shell32.dll", 131) ;TXT icon = 0 _GUICtrlListView_SetImageList($list, $hImage, 1) _GUICtrlListView_AddItem($list, "Row 1: Col 1", 0) $Button1 = GUICtrlCreateButton("Button1", 144, 304, 75, 25, 0) GUISetState(@SW_SHOW) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd [quote name='dbzfanatic' post='609696' date='Nov 26 2008, 08:46 AM']This is a help forum not a "write this for me" forum.[/quote](Sorry for bad English) :) Link to comment Share on other sites More sharing options...
Madza91 Posted March 6, 2009 Author Share Posted March 6, 2009 Solved. I forgot to set color options for _GUIImageList_Create() [quote name='dbzfanatic' post='609696' date='Nov 26 2008, 08:46 AM']This is a help forum not a "write this for me" forum.[/quote](Sorry for bad English) :) 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