[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: 693
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.12 x64, OS: Win 11 24H2 x64, Desktopscaling: 150%, CPU: I7 12700 H, RAM: 32 GB, GPU: Intel(R) Iris(R) Xe Graphics | NVIDIA GeForce RTX 3070, User age in 2025: 57y
"Happiness is a pet." | "Never run a changing system!"