[Implemented] SetGadgetItemImage(#Gadget, Index, ImageID)

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
Kurzer
Enthusiast
Enthusiast
Posts: 670
Joined: Sun Jun 11, 2006 12:07 am
Location: Near Hamburg

[Implemented] SetGadgetItemImage(#Gadget, Index, ImageID)

Post by Kurzer »

A command to change/Set an image to Gadgetitems (to a treeviewnode for example) would be very usefull.
SetGadgetItemImage(#Gadget, Position, ImageID)

Similar to the existing command SetGadgetItemText()

I know there exists workarounds for this issue (using WinAPI), but a nativ PB command would be great.
PB 6.02 x64, OS: Win 7 Pro x64 & Win 11 x64, Desktopscaling: 125%, CPU: I7 6500, RAM: 16 GB, GPU: Intel Graphics HD 520, User age in 2024: 56y
"Happiness is a pet." | "Never run a changing system!"