I have class MyComboBox. When I select an item from a ListBox, ComboBox is scrolled automatically that selected item is the first on ListBox. How could I disable it?
I tried to do it in OnDropDown, OnLButtonDown in OnClouseUp. Always without success!
I would like to control scrolling by my code!
Well, it's not very elegant, but it will work.
The combobox scrolls the drop-down listbox to the selected item. So what you can do is on the OnDropDown use SetCurSel(-1) which will clear the selection.
Dialogs (2) modeless dialog and a worker thread. Handling data shared between threads. Recursive functions.
Continuing from the tenth article about sudoku.
Last article we worked with a modal dialog to help maintain informat…