Page 3 of 4

Re: Window ListIconGadget With Owner Data (Very Fast)

Posted: Sat Jan 10, 2026 1:12 am
by mk-soft
Update v1.06.1
- Added Header Color Support
- Added Compiler Option #USE_LISTICON_HEADER_COLOR

Update v1.06.2
- Bugfix delete brush objects

On request now also the header with colors. ;)

Re: Window ListIconGadget With Owner Data (Very Fast)

Posted: Sat Jan 10, 2026 11:45 am
by ChrisR
Thank you for the header color :)

Re: Window ListIconGadget With Owner Data (Very Fast)

Posted: Sat Jan 10, 2026 3:35 pm
by mk-soft
Update v1.06.4
- Remove Compiler Option #USE_LISTICON_HEADER_COLOR
- Automatically initializes the ListIcon Header Color Callback

Only when setting the header colors are the required functions activated.
I hope I don't have a memory leak with the Header Color Brushed ;)

ChrisR wrote: Sat Jan 10, 2026 11:45 am Thank you for the header color :)
Thanks for answering ;)

Re: Window ListIconGadget With Owner Data (Very Fast)

Posted: Sun Jan 11, 2026 12:54 am
by mk-soft
Update v1.07.1
- Added Special Function SortListIconGadgetEx

Description SortListIconGadgetEx
- Option: #PB_Sort_Ascending, #PB_Sort_Descending, #PB_Sort_NoCase
- Typ : #PB_String, #PB_Integer, #PB_Double

Re: Window ListIconGadget With Owner Data (Very Fast)

Posted: Sun Jan 11, 2026 2:03 pm
by mk-soft
Update v1.07.2
- Some bug fixed

Fixed some missing default return values.

Edit: Go back to v1.07.2

Re: Window ListIconGadget With Owner Data (Very Fast)

Posted: Mon Jan 12, 2026 9:11 am
by pjay
Nice full-featured code, thanks a lot for sharing.

Re: Window ListIconGadget With Owner Data (Very Fast)

Posted: Mon Jan 12, 2026 11:58 pm
by mk-soft
Update v1.08.1
- Code reorganized

;)

Re: Window ListIconGadget With Owner Data (Very Fast)

Posted: Tue Jan 13, 2026 10:34 am
by acreis
Thanks mk-soft,

I was working in something similar one or two years ago, it was far from being functional, but I noticed my code could be more encapsulated by using SetWindowSubclass to manage all the subclassing of the listicon, so the 'user' doesn't need to use SetWindowCalback() and manage the notifications message inside the window callback.

Just a tip, I understant your code is in a state of art.

Thanks again

Re: Window ListIconGadget With Owner Data (Very Fast)

Posted: Tue Jan 13, 2026 2:13 pm
by mk-soft
Edit
acreis wrote: Tue Jan 13, 2026 10:34 am Thanks mk-soft,

I was working in something similar one or two years ago, it was far from being functional, but I noticed my code could be more encapsulated by using SetWindowSubclass to manage all the subclassing of the listicon, so the 'user' doesn't need to use SetWindowCalback() and manage the notifications message inside the window callback.

Just a tip, I understant your code is in a state of art.

Thanks again
I already had the idea.
Thus, they also created a WindowSubClass for the parent events. But not work at time :cry:
Go back to v1.08.1

Re: Window ListIconGadget With Owner Data (Very Fast)

Posted: Tue Jan 13, 2026 9:25 pm
by Andre
Nice, thanks a lot for sharing! :D

Re: Window ListIconGadget With Owner Data (Very Fast)

Posted: Tue Jan 13, 2026 10:18 pm
by mk-soft
Update v1.08.4
- Remove SetWindowCallback. Change to SetWindowSubClass
- Added FreeGadgetEx (Does not have to be used when closing the window)


Works now window sub class and we don't use a window callback ;)
Andre wrote: Tue Jan 13, 2026 9:25 pm Nice, thanks a lot for sharing! :D
Thanks for answering ;)

Re: Window ListIconGadget With Owner Data (Very Fast)

Posted: Wed Jan 14, 2026 3:17 pm
by mk-soft
Update v1.08.5
- Added CustomSortListIconGadgetEx

Example extended with custom sort and values with commas. ;)

Re: Window ListIconGadget With Owner Data (Very Fast)

Posted: Fri Jan 16, 2026 8:59 pm
by mk-soft
Update v1.08.7
- Remove UpdateListIconGadget.
- Added EventType Refresh
- Change RemoveGadgetItem

The update of the ListIconGadgetEx is now done automatically internally via the EventType #PB_EventType_Refresh.

Re: Window ListIconGadget With Owner Data (Very Fast)

Posted: Sat Jan 17, 2026 12:01 pm
by mk-soft
Update v1.08.8
- Bugfix RemoveGadgetColumn

Re: Window ListIconGadget With Owner Data (Very Fast)

Posted: Sun Jan 18, 2026 6:37 pm
by mk-soft
Update v1.08.10
- Bugfix ListIconGadget with #PB_Any. Intern Bug from WM_NOTIFY invalid NMHDR\idFrom
- Update example