I've been browsing around for a while now... Have a bit of an issue where I find it difficult to see the tiny icons of the treeview in my AHK app. I have no idea how to make the icons bigger though and don't even know if it is possible?
Anyone have any ideas?
TreeView Large Icons - Is it possible? Topic is solved
Re: TreeView Large Icons - Is it possible? Topic is solved
Check out the LargeIcons parameter in the IL_Create function:
Code: Select all
ImageListID := IL_Create(10, , true) ; Create an ImageList with initial capacity for 10 icons.
Loop 10 ; Load the ImageList with some standard system icons.
IL_Add(ImageListID, "shell32.dll", A_Index)
Gui, Add, TreeView, ImageList%ImageListID%
Loop 10
TV_Add("Item " A_Index, 0, "Icon" A_Index) ; Add an item to the TreeView and give it a folder icon.
Gui Show
Windows 10 Pro (64 bit) - AutoHotkey v2.0+ (Unicode 64-bit)
Re: TreeView Large Icons - Is it possible?
Huh... I swear I tried this already, but obviously not lol.
Thanks
Thanks
Re: TreeView Large Icons - Is it possible?
You are welcome.
Windows 10 Pro (64 bit) - AutoHotkey v2.0+ (Unicode 64-bit)
Who is online
Users browsing this forum: ishida20, jameswrightesq, Lem2001 and 404 guests