C
Chris DiPierro
Is there a way to disable scroll wheel support in a combobox?
Basically, I have a situation where a user chooses an option in a
combobox. I'm handling the selected index change event, and due to the
option they chose, the combobox itself is being destroyed (dynamic UI).
However, if they've managed to choose an option and then roll the scroll
wheel, I'll get an unhandled exception when Windows tries to fire the
events associated with the scrollwheel choices.
Even if I can't disable the scrollwheel, is it possible to clear the
event queue of any events related to the control?
Basically, I have a situation where a user chooses an option in a
combobox. I'm handling the selected index change event, and due to the
option they chose, the combobox itself is being destroyed (dynamic UI).
However, if they've managed to choose an option and then roll the scroll
wheel, I'll get an unhandled exception when Windows tries to fire the
events associated with the scrollwheel choices.
Even if I can't disable the scrollwheel, is it possible to clear the
event queue of any events related to the control?