I've got a question regarding the coordinates I get for my mouse position. I'm rather rusty at the moment with my C# and I've started a new project to pick it back up.
I'm currently trying to move a pictureBox and I'm using the onMouseMove event to trigger the update for my mouse coordinates. But the coordinates I get from my mouse are somehow jumping between values.
I'm guessing this has something to do with the different forms, but I'm not sure. I'm hoping anyone can clear this out for me.
I'm using .net framework 3.5 and using VS2008. If more information is needed, please ask!
I'm guessing this has something to do with the different forms
This is kind of an important detail... can you explain it more? Are you trying to drag a picture box from one form to another? Are you using coordinates relative to each form?
I got it working myself in a completely different way.
would you share your solution with us?
win7 x86, VS 2008 & 2010, C++/CLI, C#, .NET 3.5 & 4.0, VB.NET, VBA... WPF is comming
remeber to give feedback you think my response deserves recognition? perhaps you may want to click the Rate this post link/button and add to my reputation
private lessons are not an option so please don't ask for help in private, I won't replay
if you use Opera and you'd like to have the tab-button functionality for the texteditor take a look at my Opera Tab-UserScirpt; and if you know how to stop firefox from jumping to the next control when you hit tab let me know
Bookmarks