Page 1 of 1

SelectAll

Posted: 29 Aug 2006, 20:52
by alphi
Hi Timo,

at first:

a wonderfull control, UniCode, every Property, VirtualMode, ...
Wow! Perfect!

A little wish, to select all Items I must use API and SendMessage
it would be a little to make a sub to call it directly in the control, or?

regards
alphi

Posted: 29 Aug 2006, 22:09
by TiKu
Okay, I'll implement something like this.

Posted: 23 Sep 2006, 23:33
by TiKu
I found an approach which doesn't need new properties or methods and therefore doesn't increase the control's size that much.
In Beta 4, which hopefully will be released soon, you can pass an index of -1 to the ListViewItems.Item property. The ListViewItem object that you'll receive, can be used to set some properties (Activating, Ghosted, Glowing, OverlayIndex, Selected and StateImageIndex) for all items at once.
However, this won't work for filtered ListViewItems collection objects.

TiKu