mouse

Delphi: How make my own Hint Window?

Hi! D6 Prof. We have a special application with a special grid. It have a HintWindow what can show other informations that cannot place in cells. For example long memos. When you move the mouse to a cell, it is waiting for 2 sec, and show the informations. The problem of this theme that HintWindow is not working properly, or in same w...

Access Mouse & Keyboard Battery Status via API

Hi I want to write a little App for Mac and i need the battery percentage of mouse and keyboard connected via Bluetooth. Anyone can tell me if there are some API to do this? ...

Window clicked - what happens then? (c++)

Hello! I am working on a limited remote control of another PC over network. At first the controlled window is chosen and the client may control that window and all child windows. I am having a problem with the mouse though, I can move it using SetCursorPos, but when I try to send the WM_LBUTTONDOWN and WM_LBUTTONUP messages, there is no ...

Firing DOM mouse events programmatically from JavaScript

Is it possible to programmatically fire mouse events in DOM? My sample case would be the following: <html> <body> <iframe style="width: 500px; height: 500px;" src="something.html"></iframe> <div id="layer" style="position: absolute; left: 0px; top=0px; width=500px; height=500px;"></div> </body> </html> Whenever the user cl...

Modify mouse crosshairs code to be on top of form?

On a blank winform code can be added to show lines that intersect (crosshairs) at the mouse pointer. The problem is that the lines don't show (or are partially hidden) by controls on the form (ie listview, splitcontainer, buttons). How would I modify the code below to show on-top (bring to front...) of all the controls present on the...

Mouse script or macro

I search for a script or macro programm, which pushes the 4th or 5th mouse butten every 5 sec. This scrip or macro programm should be for a friend which uses win7 on an asus notebook. I can not try this because i use opensuse 11.0. I have googled but nothing found. ...

java mouse capture

How do I capture the mouse in a Java application so that all mouse events (even ones that happen if the mouse is moved outside the app window) are seen by the Java app? This is like the Windows SetCapture function. ...

How to tell what physical device clicked a button in C#?

I have a Form with buttons. This application is meant to run on a touchscreen computer. When a button is clicked I would like to know whether it was clicked by the mouse or the touchscreen. Is this possible? If so, how? ...

What application has mouse control?

One way users can cheat with games (desktop or web) is by having "robots" monitor the screen and move the mouse for them. Is there a way (of course with transparency and user permission) to monitor if an application is controlling the mouse? I am primarily interested in a windows app, but if there is a way for other OS's that would be us...

It's there anyway to check if the mouse cursor has changed? [Python]

It's anyway to check if the mouse cursor of Windows has changed? For example, I'm on a website and isn't have complete the loading yet, and some specific place on the site has a link to click, but, if I maintain the mouse above the link when the page doesn't complete the load, the cursor will remain the same, but if the page load comple...

The "Default Zoom Level" Mouse Button

Many mice and keyboards have "zoom" buttons on them. These almost always generate Ctrl+Mouse Wheel messages to the applications, so they are easily accounted for by us programmers. But my current Logitech mouse has an additional feature. The zoom wheel indeed sends Ctrl+Mouse Wheel messages when scrolled (or, actually, tilted), but when...

Problem automating mouse and interacting with Flash apps

I written a C# tool that simulates a user interacting with a Windows 7 environment. It works except when interacting with a couple online flash applications. Mouse movements and clicks are being generated, but the Flash apps do not receive them. I am thinking I need to generate lower-level mouse events, but cannot confirm this. I hav...

Where do I start if I want to program something that can change the configuration of Keyboard/Mouse in Windows?

Configuration as in the options you see in the Keyboard/Mouse settings under Windows. I have some .NET programming experience. ...

RichTextBox & Disabling Mouse Scrolling

I want to use the mouse middle button to clear a RichTextBox, but it also activates a mouse scrolling functionality similar to what you find in web broswers. When the vertical scrollbar is visible (there's enough data) and you press the middle button in the mouse a scrolling cursor appears and you can scroll up or down by moving the curs...

get clicks through html canvas

I'm seeing a lot of questions about how to get the html5 canvas element to receive mouse clicks, I'm using the canvas as an overlay and the mouse clicks aren't going through to the elements below. I'm loading an image into the canvas, and I thought that might be the problem but I've also tried it with an empty canvas and I get the same ...

How to detect mouse acceleration in javascript?

Hi all, I'm logging the mouse movements in a web app. I'd like to detect the mouse acceleration on a platform (e.g. Windows). Is it possible to do it from javascript, even just in an approximated way? I could ask the user to check their settings with a questionnaire, but it would be much better to detect it automatically. Cheers ...

AS3 DoubleClick question

Hey Guys, Has anyone got movieclip with nested clips to have a doubleclick = true; property working. The only way I could get it to work was by setting mouseChildren to false which I need to be true!! Any leads/ideas would be welcomed! J ...

RibbonComboBox MouseLeave Event doesnt fire

I cant get mouseleave to fire inside a ribboncombobox inside a ribboncontrolgroup inside ribbon tab inside a ribbon. I have a behavior that on mouse enter opens the dropdown and should close it on mouseleave except mouseleave doesnt fire I verified this using snoop and by setting a breakpoint on the event. Any ideas or workarounds? ...

How can I poll the SpaceNavigator 3D Mouse from MFC in Visual Studio 6

I have an MFC project in Visual Studio 6 and I am trying to poll the SpaceNavigator 3D mouse for angles and translation. The examples on the 3dconnexion website are for later versions of visual studio, and the archive and the ftp link referred to on the forums are outdated information. Where can I download a proper sdk for vs6? I have i...

How would I allow the user to move the view when they move the mouse off screen?

I would implement the view moving, I just need to know if the mouse is offscreen (offwindow) and adjust the offset variables accordingly. ...