Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MouseLeftButtonDown requires too much precision
Message
De
24/02/2009 00:47:17
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Windows Presentation Foundation (WPF)
Titre:
MouseLeftButtonDown requires too much precision
Divers
Thread ID:
01383672
Message ID:
01383672
Vues:
76
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.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform