Reekod Posted August 4, 2011 Share Posted August 4, 2011 (edited) Before i used that : GUICtrlSetImage(-1, "shell32.dll", 269) Is someone know how to write the same thing with this new function : _GUICtrlListView_SetImageList Thx the solution mean to be in this way $hImage = _GUIImageList_Create(18, 18, 5, 3) _GUIImageList_AddIcon($hImage, @SystemDir & "\shell32.dll", -7) _GUIImageList_AddIcon($hImage, @SystemDir & "\shell32.dll", -12) _GUIImageList_AddIcon($hImage, @SystemDir & "\shell32.dll", -3) _GUIImageList_AddIcon($hImage, @SystemDir & "\shell32.dll", -4) _GUIImageList_AddIcon($hImage, @SystemDir & "\shell32.dll", -5) _GUIImageList_AddIcon($hImage, @SystemDir & "\shell32.dll", -6) _GUIImageList_AddIcon($hImage, @SystemDir & "\shell32.dll", -9) _GUIImageList_AddIcon($hImage, @SystemDir & "\shell32.dll", -10) _GUIImageList_AddIcon($hImage, @SystemDir & "\shell32.dll", -11) _GUICtrlListView_SetImageList($hListView, $hImage, 1) Edited August 4, 2011 by Reekod Link to comment Share on other sites More sharing options...
ahmet Posted August 4, 2011 Share Posted August 4, 2011 (edited) Just replace ImageList portion of code in helpfile under _GUICtrlListView_SetImageList() with your code for ImageList creation. Edited August 4, 2011 by ahmet 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