Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [mousewheel]

A mouse wheel (or scroll wheel) is a hard plastic or rubbery disc (the "wheel") on a computer mouse that is perpendicular to the mouse surface. It is used for scrolling.

mousewheel
0 votes
2 answers
39 views

Zoom only using mouse wheel

I'd like to allow zooming on a canvas (excalidraw API) using only the mouse wheel like on google map , without pressing the ctrl key. Here are two things that I tried : useEffect(() => { const ...
Antonin Cuyala's user avatar
1 vote
0 answers
101 views

Control MouseWheel speed with OnMouseWheel event

I am trying to detect mouseWheel event in my Dialog Box and control the speed of the mousewheel. Below is the code snippet for normal mouseWheel movement: static BOOL HandleMouseWheel(CWnd* pWnd, int ...
Monika's user avatar
  • 11
1 vote
0 answers
30 views

Why can't I scroll in Tkinter?

I can't get my mousewheel-bind event to work, this is my code: class Game(ctk.CTkToplevel): def __init__(self, master=None): global fråge_font global alt_font fråge_font = ...
Elis Sunden Cullberg's user avatar
0 votes
0 answers
54 views

Use mouse wheel to scroll the windows form

I am creating a report in C# using PDFSharp versions 1.51 and 1.52. I want the mouse wheel to scroll the report. I have a form in which I am calling another form and displaying the graphics in ...
Irin's user avatar
  • 1
0 votes
2 answers
110 views

Smoothly TDBGrid scrolling

I want to make the TDBGrid scrolling "smoother" to scroll the page instead of row by row (dataset cursor). I know that the navigation occurs on the dataset and not in the visual grid. Found ...
snowdev's user avatar
  • 31
0 votes
0 answers
28 views

js: Why so many scroll events? [duplicate]

I'm handling some scroll events, and I noticed that listening to onscroll event fires a lot of event, while the onwheel a lot less. I made a CodePen to see how many events are detected. In particular, ...
john's user avatar
  • 65
2 votes
1 answer
107 views

Electron mouseWheel sendInputEvent not doing anything

I try to send a mouseWheel event to a BrowserWindow webContent with electron with the following code: const wheelEvent = { type: 'mouseWheel', x: 100, // X-coordinate (optional) y: 100, // ...
Kantine's user avatar
  • 750
0 votes
0 answers
303 views

How can i make a infinite horizontal scroll that recibes input from mouse wheel with Javascript & React

I'm trying to recreate this effect in my website i'm using javascript and React: https://collection-ii.mfisher.com/ As evident from the interaction, dragging or using the mouse wheel causes the ...
Alejandro C.C's user avatar
0 votes
1 answer
32 views

wpf combobox how to handle PreviewMouseWheel

I want to add a handler for the MouseWheel to the ComboBox, but I don't know how. The reason is that I have scrolling problems with a ComboBox inside DataGrid inside ScrollViewer, see here, and I ...
Roland's user avatar
  • 5,004
0 votes
0 answers
48 views

scrolling problem with combobox inside datagrid inside scrollviewer

The UI is working, meaning the data looks good, however, we have a scrolling problem. The data is in a series of ComboBoxes, inside of a DataGrid because we have many ComboBoxes, which is inside a ...
Roland's user avatar
  • 5,004
0 votes
0 answers
30 views

wpf datagrid does not bubble the scrollwheel event [duplicate]

The scrollwheel does not work on a DataGrid inside a ScrollViewer, although the vertical scrollbar just works fine. I tested with this setup: <ScrollViewer> <StackPanel ...
Roland's user avatar
  • 5,004
0 votes
0 answers
23 views

Scroll direction of the WheelEvent delta*

The MDN wheel event docs it is specifies the following: Even when it does, the delta* values in the wheel event don't necessarily reflect the content's scrolling direction. Anyone know under which ...
L.Blondy's user avatar
  • 408
0 votes
2 answers
78 views

Prevent MouseWheel scrolling in the SplitterPanel of a SplitContainer

I want to prevent scrolling with the MouseWheel in a SplitterPanel with a scrollbar conditionally, but preserve the scrolling behaviour (as shown in the code below) how can I do this? I have this in ...
amuliar's user avatar
  • 1,400
0 votes
1 answer
241 views

Unity InputSystem Scroll [Mouse] is triggered by middle mouse button press. Possible bug?

I'm using the Unity InputSystem to detect mouse scrolling and use it's Callback to effect a Camera object zoom. However, I noticed that when I press (not scroll) on the middle mouse button (aka the ...
Jon Simon's user avatar
0 votes
0 answers
24 views

Mouse mechanics on scroll

So I currently have a horizontal scroll site I am working on with a progress bar at the bottom. The scroll works fine and looks smooth when I use my macbook touchpad or my apple magic mouse but when i ...
preston17's user avatar

15 30 50 per page
1
2 3 4 5
74