5

I am trying to implement a CheckBox ComboBox. I followed this link as a reference

http://www.codeproject.com/Articles/31105/A-ComboBox-with-a-CheckedListBox-as-a-Dropdown?msg=4152597#xx4152597xx

But there are some problems with this example.

1) After the drop-down list is shown, the very first mouse single-click to change the selected item's check-status always fails to do so, but succeeding single-clicks are fine. It seems the very first single-click is swallowed. I did some trace works but failed to find an answer.

2) The form loses focus when the list opens.

Melanie Palen
  • 2,645
  • 6
  • 31
  • 50
user781700
  • 844
  • 3
  • 15
  • 27
  • Check out the following question. [Is there a simple way to implement a checked combobox in winforms?][1] [1]: http://stackoverflow.com/questions/8822678/is-there-a-simple-way-to-implement-a-checked-combobox-in-winforms/8823170#8823170 – APrough Feb 09 '12 at 19:05
  • I tried that example looks very good but only one fault is that, I am not able to keep dropdrop open till I finish all my selection. Do you know how can I keep it open? I am trying to catch WndProc Msg. But I coudnt find any success yet. – user781700 Feb 10 '12 at 18:59
  • 1
    I did a `comboBox.ShowDropDown()` in the clickEvent and worked. – Nicke Manarin Mar 26 '14 at 17:28

0 Answers0