From: Eric Hansen <HansenE@sw...> - 2002-02-20 22:23:22
Since it does not appear that the checkbox initial state can be conventiona=
lly 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 !!!!
Dallas, TX USA=20