Share your advanced PureBasic knowledge/code with the community.
mk-soft
Always Here
Posts: 6515 Joined: Fri May 12, 2006 6:51 pm
Location: Germany
Post
by mk-soft » Sat Jan 10, 2026 1:12 am
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.
ChrisR
Addict
Posts: 1563 Joined: Sun Jan 08, 2017 10:27 pm
Location: France
Post
by ChrisR » Sat Jan 10, 2026 11:45 am
Thank you for the header color
mk-soft
Always Here
Posts: 6515 Joined: Fri May 12, 2006 6:51 pm
Location: Germany
Post
by mk-soft » Sat Jan 10, 2026 3:35 pm
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
mk-soft
Always Here
Posts: 6515 Joined: Fri May 12, 2006 6:51 pm
Location: Germany
Post
by mk-soft » Sun Jan 11, 2026 12:54 am
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
mk-soft
Always Here
Posts: 6515 Joined: Fri May 12, 2006 6:51 pm
Location: Germany
Post
by mk-soft » Sun Jan 11, 2026 2:03 pm
Update v1.07.2
- Some bug fixed
Fixed some missing default return values.
Edit: Go back to v1.07.2
pjay
Enthusiast
Posts: 291 Joined: Thu Mar 30, 2006 11:14 am
Post
by pjay » Mon Jan 12, 2026 9:11 am
Nice full-featured code, thanks a lot for sharing.
mk-soft
Always Here
Posts: 6515 Joined: Fri May 12, 2006 6:51 pm
Location: Germany
Post
by mk-soft » Mon Jan 12, 2026 11:58 pm
Update v1.08.1
- Code reorganized
acreis
Enthusiast
Posts: 250 Joined: Fri Jun 01, 2012 12:20 am
Post
by acreis » 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
mk-soft
Always Here
Posts: 6515 Joined: Fri May 12, 2006 6:51 pm
Location: Germany
Post
by mk-soft » Tue Jan 13, 2026 2:13 pm
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
Go back to v1.08.1
Andre
PureBasic Team
Posts: 2158 Joined: Fri Apr 25, 2003 6:14 pm
Location: Germany (Saxony, Deutscheinsiedel)
Contact:
Post
by Andre » Tue Jan 13, 2026 9:25 pm
Nice, thanks a lot for sharing!
mk-soft
Always Here
Posts: 6515 Joined: Fri May 12, 2006 6:51 pm
Location: Germany
Post
by mk-soft » Tue Jan 13, 2026 10:18 pm
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!
Thanks for answering
mk-soft
Always Here
Posts: 6515 Joined: Fri May 12, 2006 6:51 pm
Location: Germany
Post
by mk-soft » Wed Jan 14, 2026 3:17 pm
Update v1.08.5
- Added CustomSortListIconGadgetEx
Example extended with custom sort and values with commas.
mk-soft
Always Here
Posts: 6515 Joined: Fri May 12, 2006 6:51 pm
Location: Germany
Post
by mk-soft » Fri Jan 16, 2026 8:59 pm
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.
mk-soft
Always Here
Posts: 6515 Joined: Fri May 12, 2006 6:51 pm
Location: Germany
Post
by mk-soft » Sat Jan 17, 2026 12:01 pm
Update v1.08.8
- Bugfix RemoveGadgetColumn
mk-soft
Always Here
Posts: 6515 Joined: Fri May 12, 2006 6:51 pm
Location: Germany
Post
by mk-soft » Sun Jan 18, 2026 6:37 pm
Update v1.08.10
- Bugfix ListIconGadget with #PB_Any. Intern Bug from WM_NOTIFY invalid NMHDR\idFrom
- Update example