Heya,
If I have a ListIconGadget with hundreds of entries, is there a way to know how many lines are fitting (displayed) in its current view?
(font size and name may be changed).
Thanks!
Getting the number of lines visible in normal ListIconGadget
- marcoagpinto
- Addict

- Posts: 1076
- Joined: Sun Mar 10, 2013 3:01 pm
- Location: Portugal
- Contact:
Re: Getting the number of lines visible in normal ListIconGadget
Code: Select all
SendMessage_(GadgetID(#Gadget_ListIcon),#LVM_GETCOUNTPERPAGE,0,0)"Daddy, I'll run faster, then it is not so far..."
- marcoagpinto
- Addict

- Posts: 1076
- Joined: Sun Mar 10, 2013 3:01 pm
- Location: Portugal
- Contact:
Re: Getting the number of lines visible in normal ListIconGadget
Heya, thanks.dige wrote: Mon Mar 25, 2024 9:39 amCode: Select all
SendMessage_(GadgetID(#Gadget_ListIcon),#LVM_GETCOUNTPERPAGE,0,0)
I believe that is for Windows only?
Do you know how to do it on Linux and Mac?
Thanks!