Page 1 of 1

ListView flags

Posted: Wed Jun 16, 2004 1:42 am
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

Posted: Wed Jun 16, 2004 7:05 am
by blueznl
probably the regular windows flags, check out those in the win32.hlp file

Posted: Thu Jun 17, 2004 1:35 am
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

Posted: Thu Jun 17, 2004 5:36 am
by Danilo
In Windows its the ListBox control, look for flags
starting with #LBS_ (ListBoxStyle), for example
#LBS_MULTIPLESEL, #LBS_NOSEL, #LBS_SORT, ..

Posted: Thu Jun 17, 2004 7:54 am
by Dr_Pixel
Thanks