Click to See Complete Forum and Search --> : disable listctrl checkbox
george_kalash
May 20th, 1999, 12:53 PM
How can I disable a specific item checkbox from a report style list control.
I'm calling SetItemState with LVIS_STATEIMAGEMASK and It is not working properly.
Please help
myron
December 10th, 2004, 12:45 AM
I would like to have this ability too.
Anyone got any hint?
cilu
December 10th, 2004, 02:29 AM
You didn't show any code.
Enables check boxes for items in a list-view control. When set to this style, the control creates and sets a state image list with two images using DrawFrameControl. State image 1 is the unchecked box, and state image 2 is the checked box. Setting the state image to zero removes the check box altogether.
myron
December 10th, 2004, 02:36 AM
So there is no standard way to disable the checkbox at ListCtrl, since it only has two images: Check and Unchecked.
:(
Got to implement it by ourselves.
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.