Issue with SetGadgetState() and SetGadgetItemState() on Windows
Re: Issue with SetGadgetState() and SetGadgetItemState() on Windows
For tree, you need to use #PB_Tree_AlwaysShowSelection, not #PB_ListIcon_AlwaysShowSelection. You can't have a 1:1 display rendering between all the subsystems, but the internal behaviour (is the item selected or not) should be indeed consistent.
Re: Issue with SetGadgetState() and SetGadgetItemState() on Windows
My bad juggling with 3 different gadgetsFred wrote: Mon Dec 29, 2025 11:47 am For tree, you need to use #PB_Tree_AlwaysShowSelection, not #PB_ListIcon_AlwaysShowSelection.
Thanks for looking into this, Fred.

