Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MouseLeftButtonDown requires too much precision
Message
From
24/02/2009 00:47:17
 
 
To
All
General information
Forum:
ASP.NET
Category:
Windows Presentation Foundation (WPF)
Title:
MouseLeftButtonDown requires too much precision
Miscellaneous
Thread ID:
01383672
Message ID:
01383672
Views:
78
I am responding to MouseLeftButtonDown events on elements added to a WPF canvas. It all works fine when clicked (i.e. the eventhandler fires off correctly), but it requires too much precision from the mouse pointer. You have to be perfectly on top of the circle to make it work. I need it to be a little more forgiving; maybe at least 1 or 2 pixles more forgiving. The elements on the canvas are nice big circles (about the size of a quarter on the screen), so the circles themselves are not too small, but the StrokeWidth of each one is 1, so it is a thin line.

You can see a screenshot here: [http://twitpic.com/1f2ci/full]

Most graphics app aren't this picky about the mouse picking. So I want to give the user a familiar experience.

How can I make it a little more forgiving.
Next
Reply
Map
View

Click here to load this message in the networking platform