Sometimes, when I have really, really nothing else to do, I start doodling with some code. Wanted to display the coordinates of the mouse pointer. Thought it was complicated, but it was rather easy. Look, starting at line 94. Then: why not explore a [Bezier curve](https://en.wikipedia.org/wiki/B%C3%A9zier_curve), and what if I could move all the points on the screen? So here it is what I came up with. It is far from complete, but I thought why not share it. Highlights: - Follow the coordinates of the mouse pointer. - Moving controls(here PictureBoxes) with the mouse on the screen. Here is …

Member Avatar
+0 forum 0

Hello gayz, i have a written a screen saver App in C# & WPF, everything is done, the only thing is to exit the screen saver when the mouse move event get fired. if i write: private void Window_MouseMove(object sender, MouseEventargs e) { this.Close(); } the screen saver doesn't starts at all. therefor: i need the to get the mouseposition bevor the mousemove event fired, and then check if the mouse was moved more than 20 pixel, than exit the App. how do i get the MousePosition. Thanks for any help.

Member Avatar
Member Avatar
+0 forum 2

Alright, I'm at it again, trying another version of my game. Sorry, it's been a while since I've been here and while I tried checking to see if anyone else had asked about this, I didn't see anything that was to the point. I'm trying to play an mp3 or wav file by simply mousing over a label, thus using the below: [CODE]Private Sub Label1_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)[/CODE] But I'm confused as to how to what I play this with. I don't want a player, just a song to play. I'd like …

Member Avatar
Member Avatar
+0 forum 1

The End.