Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Graphics window does not acknowledge second click (double click) (fix included) #6281
Original bug ID: 6281
The Graphics library is configured to ignore a double click event from Windows. For example, clicking 3 times in rapid succession will produce 2 mouse down events, ignoring the one within the double click threshold of the system.
wc.style = CS_HREDRAW|CS_VREDRAW |CS_DBLCLKS|CS_OWNDC ;
Remove CS_DBLCLKS from the above style flags and the library will work as intended.
add the -> cases to catch the double click events
Steps to reproduce
watch the click count skip doubles in this code fragment: