I'm using MS Windows Common Controls 6.0 (SP4).
Thanks in advance,
Darren.
I believe the index for listviews and listboxes etc is an integer.
therefore you will not be able to get past these numbers anyway because it
woud cause an overflow.
Why on earth would you want to list that many items anyway?
"darrenw" <dar...@pipeline.com.au> wrote in message
news:6f651e9e.03091...@posting.google.com...
>Can someone please confirm whether the following is a bug or not. I
>have a listview control with more than 32,768 items loaded. I have it
>in report view and I have enabled checkboxes. When I click an item
>past the 32,768 item the ItemCheck event is fired correct but the
>Checked property on the Item passed into the event is always False. If
>I click any items from 1-32,768 the Checked is correct - True when on
>and False when off.
>
Use the APIs, Luke. :)
When your click triggers, you can get the index via the API.
Actually, maybe even the .HitTest() might return a valid index into a
long, but that means you have to grab the cursor position with
GetCursorPos first.
Then with SendMessage again, you can test for the checked state. I
can't remember the exact flags and stuff, but if you have probs let me
know and i'll whip up a small example.
--
Regards, Frank