I want the ignore the up and down arrow keys on the SelectionChangeCommitted event of a combo box and only have the mouse allow selection. Does anyone know how to do this?
I need a way to determine whether key or click caused the SelectionChangeCommitted event. I guess I could have a flag that turns on in a mouseclick event and off in a key down, but I wondered if there was a cleaner way?
You can suppress the key by using the
KeyDownevent like this;