Welcome to MSDN Blogs Sign in | Join | Help

Getting mouse positions

John points out that WPF/E's mouse event.X/Y are in the coordinate space of the browser plug-in, which can be pretty awkward to work with if your element is rotated, scaled, or otherwise transformed.  In February CTP, unfortunately there's no way of transforming the coordinates into the space of your choice, short of writing the matrix multiplication math yourself.  I ran into this as well while writing the slider control, it's definitely ugly, we plan to provide an API for this in a future CTP.

Published Saturday, March 31, 2007 2:25 AM by nkramer

Comments

Saturday, March 31, 2007 12:52 AM by Morten

# re: Getting mouse positions

Great! I had that issue as well.

New Comments to this post are disabled
 
Page view tracker