Issue with SetGadgetState() and SetGadgetItemState() on Windows

Post bugreports for the Windows version here
Fred
Administrator
Administrator
Posts: 18413
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: Issue with SetGadgetState() and SetGadgetItemState() on Windows

Post by Fred »

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.
bal
User
User
Posts: 18
Joined: Fri Sep 03, 2010 6:15 pm

Re: Issue with SetGadgetState() and SetGadgetItemState() on Windows

Post by bal »

Fred wrote: Mon Dec 29, 2025 11:47 am For tree, you need to use #PB_Tree_AlwaysShowSelection, not #PB_ListIcon_AlwaysShowSelection.
My bad juggling with 3 different gadgets :)

Thanks for looking into this, Fred.
Post Reply