Top "Mouseevent" questions

A general tag for user-interface events that are generated by the mouse.

Detect mouse direction - JavaScript

var direction = "" var mousemovemethod = function (e) { var oldx = 0; if (e.movementX < oldx) { direction = "left" } else if (e.movementX > …

javascript mouseevent mouse detection
Mouse event on transparent background

I have create several canvas with transparent background and wanna make some move event on it. However, I found that …

wpf background mouseevent transparent
Which key does the e.metaKey refer to in JavaScript MouseEvent?

MouseEvent.metaKey doesn't seem to work. On both FireFox and Chrome, it returns false even if I hold the Win …

javascript browser mouseevent dom-events keycode
How to programmatically fire a MouseEvent to a MouseListener with Java?

I have a JTree with a custom associated MouseListener (for showing popup etc.). I need to fire a MouseEvent that …

java swing mouseevent jtree mouselistener
jQuery .mouseover() (.mouseout) div is flickering

i have a problem with this code (i made a jsfiddle http://jsfiddle.net/r2y8J/). $(document).ready(function() { /*$(".…

javascript jquery mouseevent mouseover flicker
How can I simulate mouse events from code?

I would like to simulate mouse events using the Win32 API; how can I do it? What I want to …

c windows winapi mouse mouseevent
WPF: Slider doesnt raise MouseLeftButtonDown or MouseLeftButtonUp

I tried this XAML: <Slider Width="250" Height="25" Minimum="0" Maximum="1" MouseLeftButtonDown="slider_MouseLeftButtonDown" MouseLeftButtonUp="slider_MouseLeftButtonUp" /> And this C#: …

c# wpf slider mouseevent
JavaFX - closing a Tab in TabPane dynamically

I have a TabPane with closable tabs. I want to fire a "close tab event" when the user clicks a …

javafx-2 mouseevent tabpanel
How to wire up a click event for a custom usercontrol button? Should I use CustomControl?

I wanted to create a button that had an image and a textblock as content. So I went about looking …

wpf user-controls custom-controls mouseevent
What is the best way to simulate a Click with MouseUp & MouseDown events or otherwise?

In WPF most controls have MouseUp and MouseDown events (and the mouse-button-specific variations) but not a simple Click event that …

wpf controls click mouseevent