mousewheel

WPF - Send mouse wheel messages to a Frame/WebBrowser control

I'm hosting some web content in a WPF app using the WebBrowser control (or Frame, havent' decided yet). There are some external influences that I'd like to use to simulate mouse wheel behavior in the web content. Is there a way for my WPF app to send mouse messages to the WebBrowser control, with a Delta (scroll) value that I specify? ...

Detecting mousewheel over non-focused window?

My goal is to make a floating toolbar (as its own C# application), and when the user uses the scrollwheel over me I want to change the buttons that are visible. Sounds easy enough, should just be a matter of this one-liner: MouseWheel += new MouseEventHandler(Form1_MouseWheel); The problem I am having is that the mouse wheel handler i...

Can't see MouseWheel even on nested Panel control in C#

I have a Panel on a TabPage on a TabControl that is on a form. I have a Mouse Event function "control_MouseWheel". If I bind that function to the MouseWheel event of just the panel, nothing happens when I scroll the mousewheel. If I bind that function to the MouseWheel event of both the panel and the TabPage or all three of the Panel...

Flash: Using mouse wheel events in full screen mode (Windows and Mac)

Although Flash has a mouse wheel event (MouseEvent.MOUSE_WHEEL), it comes with quite a few problems. The first is that the event is not yet supported on the Mac. So there are a bunch of solutions, all of which (basically) capture the mousewheel (or DOMMouseScroll) event in javascript and pass it into the flash app. Luckily, under all t...

How can I scroll my panel using my mousewheel?

I have a panel on my form with AutoScroll set to true so a scrollbar appears automatically. How can I make it so a user can use his mouse wheel to scroll the panel? Thanks SO. ...

Can Win32 popup menus respond to the scroll wheel?

Say I have a bog-standard Win32 popup menu, and it's taller than the screen. It sprouts an up arrow at the top and a down arrow at the bottom, so the user can scroll through its items. It's it possible at all for such a menu to response to Mouse Wheel scrolling? Scroll wheel events are sent to the focused control, which is not the menu,...

Flash multi-touch on Windows 7 - configurable?

I'm testing a Flash application in Windows 7 that uses the mouse wheel to perform a zoom. When I do a standard pinch gesture the app properly zooms in or out, so I'm guessing that somewhere the gesture is getting converted to mouse wheels. The only problem is that the zooming is really slow - is there a way to configure this behavior? ...

How do I use DoMouseWheel to scroll a line at a time?

I've written a grid control and would like to add support for the mouse wheel to it. I thought it would be as simple as overriding the DoMouseWheel virtual method, but there is a bit of a problem with it. You can set the number of lines to scroll at a time in Control Panel and the default there is three. And this makes perfect sense whe...

Horizontal scrolling in Datagridview

Hi all, I want to scroll horizontal in my grid (inherited from DataGridView). Not with Ctrl+scrolling tiltwheel (mousewheel), but by pushing the mousewheel to the left or the right. First I tried it by catching the WM_MOUSEHWHEEL (0x020E) message in WndProc, but this fires only once (and I want to keep on moving left or right as long a...

Swing won't trigger mouseEntered/mouseExited properly after mouse wheel events?

I have an issue where Swing (in Java 1.6, Windows) doesn't seem to trigger mouseEntered and mouseExited events the way I want it to. I have an application where I wish to have a number of JPanels stacked vertically in a JScrollPane, and that they should be highlighted with a different colour when the mouse is over them. Simple enough pro...

VB6: enabling mousewheel for controls

hi all, can someone tell me if there's an easy way to enable mousewheel for controls (in runtime)? i want to use the wheel for scrolling controls as soon as the mouse is over them. thx ...

Correct handling of OnMouseWheel events in Ext-GWT

I'm trying to figure out which property of BoxComponentEvent will tell me if the generated OnMouseWheel event was a scroll-up or scroll-down event. I have output the values of all the properties BoxComponentEvent exposes; and all of them (with the exception of the coordinates at which the event took place) stay the same regardless. Googl...

Handle tilt left / right in WPF

How can I handle tilt left or tilt right mouse event in WPF? ...

C# - how do I prevent mousewheel-scrolling in my combobox?

I have a combobox and I want to prevent the user from scrolling through the items with the mousewheel. Is there an easy way to do that? (C#, VS2008) ...

How to increase mouse scroll wheel speed in NetBeans?

Loving the switch from Eclipse to NetBeans. Anyone know how to increase the number of lines scrolled using the mouse wheel in the editor window? Currently it only goes one at a time -- i'd like it to do at least three. ...

[WPF] Lock the scrolling in a ScrollViewer ?

Hi, How can I lock vertical scrolling of a ScrollViewer by using the mouse wheel ? ...

Flex 4 and ScrollBar stepSize

I want to specify amount to scroll with VScrollBar. So in Flex 3 we have "lineScrollSize" but how this property called in Flex 4? I thought it VScrolBar.stepSize — but it dose not do anything. Somebody please help me. I just whant my content to scroll faster on mouse wheel. ...

disable mouse wheel scrolling while cursor over flex app?

Is it possible to disable mousewheel scrolling on my webpage while the cursor is over my flex application? My flex application is a map that allows user to zoom in and out using the mousewheel; however, when I put my flex app onto my webpage, the scrollwheel causes the page to scroll instead of zooming in and out... Edit: I have added...

How to use the mousewheel in a Squeak / Morphic GUI

I am implementing a graphical user interface with Morphic / Squeak. Some of the items have drag & drop functionality. While dragging, I want to be able to rotate these items with the mousewheel. The first problem is that using the mousewheel ends the drag-action and leads to a drop (attempt). How can I suppress that - and fire the mouse...

MouseWheel event doesn't fire when using any control with scrolbars (in C# Windows Forms)

MouseWheel event doesn't fire when I' am using any control (ListBox, Panel, TextBox) with scrollbars. To reproduce problem: public class Form1 : Form { private readonly Button button1; private readonly TextBox textBox1; private void button1_MouseWheel(object sender, MouseEventArgs e) { ToString(); // doesn't fire when unc...