Since it does not appear that the checkbox initial state can be conventionally 
changed, how about an unconventional approach to the problem???

How about drawing yourself 2 bitmaps. One that looks like a checked checkbox 
and one that looks like an unchecked checkbox.  Then, define your ListView 
control without checkboxes but do assign an image list to the ListView 
containing your 2 checkbox bitmaps you just drew.  Then in your program you can 
give the appearance of checkboxes being activated by displaying either the 
checked or non-checked image by each data row in the ListView.  You can change 
the image(check state) by toggling the image within the ItemClick Event.  Use 
the ItemInfo Method to determine which image is displayed and use the 
ChangeItem method to display the other image. Hope this isn't too cheesy for 
everyone !!!!

Eric Hansen
Dallas, TX USA 


Reply via email to