Double click
Posted: 19 Jan 2009, 23:03
Thanks for the great controls.
I noticed a flaw:
On a controls that you can click (like the OptionButton, CheckBox, CommandButton) a double click is not handled correctly.
Do a few double clicks rapidly on the same control, then in that process hold down the mouse button.
Something like that:
Down
Up
Down
Up
Down
Up
Down
Now take a look at the control's appearance. You will see that it displays a normal hover state, but it should be in a down state.
I think this is because you don't handle double clicks correctly. This is a known problem, and some people handle it by calling a MouseDown event when a DoubleClick event occurs. And some people even eat the DoubleClick event in their subclasser.
Thank you.
I noticed a flaw:
On a controls that you can click (like the OptionButton, CheckBox, CommandButton) a double click is not handled correctly.
Do a few double clicks rapidly on the same control, then in that process hold down the mouse button.
Something like that:
Down
Up
Down
Up
Down
Up
Down
Now take a look at the control's appearance. You will see that it displays a normal hover state, but it should be in a down state.
I think this is because you don't handle double clicks correctly. This is a known problem, and some people handle it by calling a MouseDown event when a DoubleClick event occurs. And some people even eat the DoubleClick event in their subclasser.
Thank you.