Groups | Blog | Home
all groups > dotnet drawing api > december 2005 >

dotnet drawing api : CheckListBox Row Height



mathieu
12/12/2005 7:55:09 AM
I am trying to develop a CheckListBox wich triggers a ItemChecked event
if and only if the user clicks the check mark of a row.

I already tried setting "CheckedOnClick" to FALSE but that alone wont
work because ItemChecked is triggered when clicking an already selected
row.

OwnerDrawing seems to be the only solution but how can I find the
height of a row in the CheckListBox....Any Suggestions?

Thanks in advance

Mathieu
Curtis
12/12/2005 2:58:28 PM
you might want to check the listview control as it sounds closer to what you
need than the listbox
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemwindowsformslistviewclasscheckeditemstopic.asp

Curtis

[quoted text, click to view]

AddThis Social Bookmark Button