ListView flags

Just starting out? Need help? Post your questions and find answers here.
Dr_Pixel
User
User
Posts: 36
Joined: Fri Oct 24, 2003 1:36 pm

ListView flags

Post by Dr_Pixel »

Can anyone tell me what the flags are that can be used with a ListView gadget?

The manual doesn't show them, but the help line in the editor does show a "[Flags]" parameter, and if I type in a number in that position, it is accepted by the compiler...

But, I can't find documentation of them anywhere.

Thanks for any help
Dr Pixel
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6166
Joined: Sat May 17, 2003 11:31 am
Contact:

Post by blueznl »

probably the regular windows flags, check out those in the win32.hlp file
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
Dr_Pixel
User
User
Posts: 36
Joined: Fri Oct 24, 2003 1:36 pm

Post by Dr_Pixel »

I had tried that, but ran into two problems -

First, the "Listview" in the Windows API guide seems to be what we call the ListIcon, and I can't find anything that seems to be similar to our ListView

So, I decided I would try the API flags anyway, to see what would happen....

But for some reason, the page in my Win32 APIguide that is supposed to give the flags for the ListView, is empty - just a blank page
Dr Pixel
User avatar
Danilo
Addict
Addict
Posts: 3036
Joined: Sat Apr 26, 2003 8:26 am
Location: Planet Earth

Post by Danilo »

In Windows its the ListBox control, look for flags
starting with #LBS_ (ListBoxStyle), for example
#LBS_MULTIPLESEL, #LBS_NOSEL, #LBS_SORT, ..
cya,
...Danilo
...:-=< http://codedan.net/work >=-:...
-= FaceBook.com/DaniloKrahn =-
Dr_Pixel
User
User
Posts: 36
Joined: Fri Oct 24, 2003 1:36 pm

Post by Dr_Pixel »

Thanks
Dr Pixel
Post Reply