Pan & Zoom Image

I want to create a simple image viewer in WPF that will enable the user to: Pan (by mouse dragging the image). Zoom (with a slider). Show overlays (rectangle selection for example). Show original...

Android tablet interface for the physically disabled?

I would like to make an interface for an Android tablet that would work for someone with little to no physical dexterity or speech ability. Is it possible to interface a joystick to control the...

User control click event not working when clicking on text inside control?

I have a user control called GameButton that has a label inside it. When I add the user control to my form, and add a click event to it, its triggered when you click on the background of the...

Does Visual Studio 2010 let you edit icons?

When I double click on a .ico file in Visual Studio 2010 (Professional), it opens what looks like an icon editor. It looks like it should be really easy to pick a color from the left and edit...

How to add hover effect to visio drawing in sharepoint webpart

I've created a web part page which contains visio drawing in sharepoint site. Now I want to show shape data when the mouse hover on specific shapes, instead of clicking "Toggle the visibility of...

Datatips (mouse hover over variables in debug mode) not working in Visual Studio 2012 / Win 7 64bit

When I hover my mouse over a variable when debugging a C# app in Visual Studio nothing popups. I expect to see the value of the variable (aka datatips). I'm running Visual Studio 2012 Ultimate...

IntelliJ IDEA not responding to mouse clicks

I have a problem with IntelliJ IDEA Community Edition 12.1.6. Everything works fine, as long as I have only one project (one window) opened. When I open second/third etc. project, only the first...

How to invert mouse control? (ActionScript3

How can I do if I want a function that inverts mouse control, like when I want to go right, it goes left, and when i go up it goes down? The only thing I thought about was mouseX = mouseY even if...

How to know if a sound is playing using c#?

I have a TTS program (Third Party) and I wrote a c# application that uses that program. (Type into my application and press a button to move the mouse and click on the Third party app). I need to...

Disable context menu on video element

The intent of the code below is to disable the right click of the mouse button and the context menu on a video container element (customer request). However, it also seems to knock out the left...

The difference of "addEventListener" and "onxx" when event processing

I know addEventListener can add a lot of handlers, "onxx" just have one handler, and addEventListener can remove the handler, but one thing I can't understand is: why when I use onxx, my console...

a hover button in react.js

i would like to ask how to make a button but when the mouse is on the button (hover),the new button is displayed above the previous button... and it's in react.js.. thx this is the way of my...

React mouse events fired on components not listening for them

Not sure if it's my profound misunderstanding of React events or an actual bug, but mouse events registered on the parents sometimes fire on the children. In the bin below, mousing around the two...

SFML Mouse click detection

I'm coding a game with SFML library. I have some buttons and when I click on, I want to do something. But I have a probleme, I don't know how to detect a simple click, not key released or key...

How do I start setInterval only when input element has focus?

I have an input element in the body of a page. And I've created a setInterval method. Now what I want is when the tab in which my page is open has focus (i.e., $(window).foucs();), and when my...

JavaFX TableColumns' headers not aligned with cells due to vertical scrollbar

after having spent the last few hours searching the web for this issue I decided that I need your help. The issue is similar to this topic:...

Python Turtle mainloop() usage

I have the following code from an online tutorial to learn event-based programming by making a stop light that changes state when the mouse is clicked. Here is the entirety of my code: import...

Handle Mouse Hover on Titlebar of Form - Show Title of a Minimized MDI Child in ToolTip

I'm looking for a message like WM_NCMOUSEMOVE that represents the mouse is hovering on title bar of a form. Currently I've put this code in child forms, but the problem is that they are many child...

Get object position in a three.js scene dynamically

I am new to threejs. I have scene with an object in it which we can move around the scene on all the XYZ Axis using TransformControls.js. When I translate/move the object inside the scene using...

Zooming in at mouse position p5.js (jsfiddle included)

I'm trying to zoom at mouse position, like say on google maps. It kind of works but it shifts the point i want to zoom in on wherever it matches up with the original.Then when i zoom at that point...

Popup certain points of image to display text

I have an image of map like this: I searched in google but I don't find any. I want to know if there is a JS or Jquery Library to implement some popup or tooltip when mouse is over certain points...

My cursor turned into a "plus" shape and unable to click

I am using ubuntu 18.04 and my cursor turned into a thick plus, that looks like the following screenshot: I can move my cursor, however the mouse buttons are frozen and I am unable to click...

Podman (libpod) fails to run while mounting shm with SELinux context

I am currently trying out Podman on Gentoo Linux: # grep -i selinux...

Intellij Idea won't start Windows 10

I downloaded Intellij Idea and was using it just fine for a while. I don't know what happened between the time it was working and when it started to not work. When I would click the shortcut, my...

C# Unity Event -- Reading Additional Mouse Buttons

I am determining KeyCode inputs by Event.current.keyCode or Event.current.button. When Event.current.isMouse == true,Event.current.button will only return 0,1, or 2 (left, right, or middle...

Tkinter After Loop Only Runs to Time if Mouse Moving

I'm using after() for a Tkinter animation loop: from tkinter import Tk, Canvas from time import time root = Tk() root.configure(width=1920, height=1080) root.resizable(True, True) main =...

Is there any way to make mouse events completely ignore windows in PyQt5?

I have tried to use setAttribute(Qt.Qt.WA_TransparentForMouseEvents),but mouse also can't pierce through Qtwindow. I want make mouse event penetrate Qtwindow,like I have clicked mouse's right...

Horizontal Smooth Momentum Scrolling

THE PROBLEM: I need to apply some mouse wheel smooth horizontal scrolling to this layout: https://jsfiddle.net/38qLnzkh/. ALTERNATIVE: I've found this Script that does exactly what I want but it...

I can't find the pip of this library usb_hid

I am doing a school project, which involves making a program that with the help of a Rasbperry pi pico and some push buttons, make a mouse. But apparently I need the usb_hid library to host my usb...

Pyinstaller "Failed to execute script due to unhandled exception" Error

I made a simple program that works as a .py file, but when I use pyinstaller to make a .exe file, the command prompt opens and closes immediately. By screen recording opening the .exe, I was able...