o
k
q
u
e
s
t
i
o
n
s
.
c
o
m

mouse -

does anyone know how to make the mouse click useing a visual basic form

 

serial mouse as program specific input device -
i'm interested in a way to grab data directly from a serial mouse. I want to use the mouse to control a couple variable in my program, but i don't want it to move the mouse cursor. basically, my system will have two mice. one is a USB Optical mouse and the other is a more traditiona


mouse over - mouse on / mouse off -
I noticed VB has MouseDown, MouseUp and MouseMove, but nothing that really helps you do a Mouse Over...that is, to be able to change the color when the mouse if over, then revert back to previous color when mouse isn't over. any ideas as to how to handle this? i would think this is fai


Is vb stupid or is it me -
Is vb stupid or is it me?Is vb stupid or is it me? Why aren't these actions interpreted correctly when you click away on the mouse? This is killing me - how do I remedy this!!! Code: Private Sub Picture1_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single) D


How do I hold the Mouse Down [02/03] -
Hello All, I was wondering if anyone knew how to Hold Down the Left Mouse Button. What I want to do is Hold down the Left Mouse Button, then Move the Mouse to a different location while still holding the mouse down, then, once the mouse has been moved, release the mouse button.


Bound Mouse -
I am building a UserControl, How do i restrict the mouse to a certain area within that control?? So when the user holds the mouse down and drags the mouse, the cursor will not leave a certain region.


Captions that change colour when you mouse over -
g'day, i was wondering if anyone knew how to get the colour of a caption to change when the mouse mouse overs then change back whent the mouse leaves. i can get it to change colour on mouse over, but i cant figure out how to get a on mouse effect. using visual basic 6.0


Mouse functions -
I want to make a Ghost Mouse type program but I don't know how to deal with mouse clicks and other stuff. I just want to know how to deal with mouse cordinates ect. Thanks. I don't want tons of code just something simple that can help me understand mouse cordinates and how to change th


Sending Mouse Click and Key Press -
Hey, I've got an application where I need to be able to run a program that does a right mouse click then presses number 1 on the numpad where I position the mouse, or alternatively right mouse click then move the mouse to another location and left click on it. Thanks in advance.


Mouse gestures help please thanks -
Hi, what i want to do is have mouse gestures on a browser am making using webbrowser control... ok mouse gestures are like this for those who dont know press right button of the mouse and move the mouse to left it makes the browser goes back (Wb.GoBack) press right button of the


[VB6] 'Hidden Mouse' -
I was wondering if there is a way to simulate mouse movement/clicking in a VB6 application without having it in focus. Like my title says a hidden mouse. Perhaps i have a window completely over my VB app, the mouse can't click the application if there is something over it. I know there


can I emulate mouse clicks with VB -
I want a VB program to take over the mouse. what I really need is to press my mouse button every 10 seconds until I stop the program. I want to physicaly move the mouse myself, but I want the mouse to press the left button automaticaly. It almost seems like this type of program woul


Mouse Over & Mouse Out Detection -
Hi, does anyone know of a good way to detect mouse over and mouse out? Please tell me every possible way to do so because I wanna see which is the fastest. Thank you.


[2005] Please help me with vb -
Hi there- I am trying to create a program and I am very new at this! Please help. Using the mouse up and mouse down event I need to draw lines. The lines will begin where the mouse is pressed down and will end where it is released. Then I need to save the X and Y values of the mouse l


Snap Mouse to a Grid -
Hi, How would I snap a mouse to a grid, I've tried doing it using the API SetCursor, with a mouse move event, but theres some phantom like movements with the mouse, it keeps getting inputs, even when the mouse is stationary Thanks!


Get the hwnd of the window under the mouse -
can anyone tell me how to get the hwnd of whatever program happens to be under the mouse. say i have the mouse cursor over calc.exe when its running. how can i get the hwnd of it or of anything that the mouse is over? (must be with mouse over) -joel


[New problem][2005] Reading & Writing Mouse Position -
hi, i have a couple of questions to ask about modifying the mouse 1. how to get the position of the mouse in the screen? 2. how to call the mouse to go to specific position? 3. how to call the mouse to click? Please help, thanks in advance.


Detecting mouse hover over a part of a graphics object -
I think this is probably the right place to ask this question. I am programming in VB.net and using GDI+. I have a picture painted on a form with a bunch of rectangles. I need to know when the mouse hovers over any of those rectangles. I am thinking that I can use the mouse move ev


Get mouse position for compare -
Hi, I'm using the mouse_event API to move the mouse. If we say that the mouse first is at one point and this point is stored into a variable. After that, I'll move the mouse a bit to the right. Then the mouse_event code moves the mouse 100 to the right. Now, I want to get the mo


Inhibit mouse message -
Hello, How can I inhibit a mouse message? I would like to listen to mouse message like mouse left down and stop it. For instance, My mouse is over a bouton (or anything else even on other application), then I press down the left button. Normally, the graphic button would be on


mouse drag -
how do you get information on when a user click and drag with the mouse? I need to know when the user clicks the mouse (mouseDown event) and then the coordinates of the mouse if the user moves it while holding down the mouse button.


2nd mouse -
Hello, I have a second mouse which I can connect to com1 (windows mouse is on a ps/2-port) and I was wondering if there is any way to use it as a 'remote control' for a vb program. I have tried using the ms comm control, but I can't get any data from the mouse. Does anyone have any ex


Mouse Movement example -
Do you know of a good mouse movement example I can follow? I would like to find out where the mouse is, and especially be able to have my program control the mouse and click. Also, keyboard simulation would be great to. Thanks.


How to change the mouse icon universally temporarily -
My program has a 3rd party dll to it. when the dll is loading, the mouse icon becomes the mouse/sand timer combo. is it possible to keep the mouse icon just the mouse until the dll is done loading?


Reverse mouse movement. -
Hello, A friend of mine broke his neck when he was in high school. He is in a wheel chair and has limited use of his hands. He prefers to use the mouse in the reverse position so that he can use the palm of his hands to click on the buttons. Is it possible to write a DLL that can re


lock mouse -
I made a program that moves the mouse around to do some stuff, like a ghost user thing. Is there any way I can block user input from their mouse but keep control of the mouse on the screen so they can't move it? Thanks, Goon


Help... mouse wheel doesn't work in vb6 -
Argh. My mouse wheel works in every application I have except the VB6 development environment. I have a microsoft mouse and intellipoint software. I do not see anything in the control panel that will try and force VB6 to recognize the mouse. Any ideas?


Mouse on, mouse off -
(sorry, just been watching Karate Kid!) I have a picturebox on my form, call it picTest, and when the mouse rolls over it, I want to show a frame, called frmTest. However (here's the tricky part), if the user moves away from the picTest, and back again, I want to hide the frame.


How do you play a shooting game -
In some shooting games, you need to user, both, arrow keys and mouse in order to play successfully. You move camera screen around using the mouse, and make the person walk using the arrow keys or some other keyboard keys. To use the mouse while you are moving the character, do you us


Map Editor and the Mouse -
I have been slowly making a 3D Map Editor for use with my engine Ive been working on. I figure I can save time making a map editor rather than trying to plot all the vertices myself in a text file. I am not having many problems going from ScreenClicks to WorldSpace Clicks. But a p


TreeView (onmouseout and more...) -
(1) Can I somehow get if mouse is not any more on the treeview-object? I have created code that opens another form on the left side of mouse but when I move mouse outside this treeviewobject box stays on the place it was before moving mouse outside of the form. (2) Is there in listb


Simulating a user continually holding a mouse button down -
I need to simulate a user holding the mouse button down on a window (lbutton is continually down). As if I pressed a command button but never released the mouse. Unfortunatly, the user may need to use the mouse for other things simultaniously. Is there a way to do this with subcl


Mouse information -
I've been attempting to make a program that finds the mouse location also sends the mouse to certain locations on the screen and finally sends specific mouse clicks in certain intervals. Every site I have gone to so far has provided no help at all and I was wondering if any of you wond


Changing mouse icon -
I want to know how to change the mouse icon during a mouse down and or drag-drop event but it's not workin. How is it supposed to be done all i'm doin at the moment is assigning the pictures and forms mouse icon to a .ico picture. Thanx Bruce


Mouse Cursor/Event -
Hi together * I want to activate my program with a mouse-click anywhere on the screen, but i don't want that this mouse-click is passed to other applications. Does anyone know how it is possible to remove the "mouse-click"-message from the message-queue ?? * I want to c


Which control is under the mouse -
I was thinking of the way to detect which control is under the mouse. I couldnt find an easy way. I think it can be done by: 1-Detecting the mouse position. 2-Looping through the controls of the form and if the mouse position falls in the bounds of the control then the mouse is on


Making the mouse click -
I am trying to figure out how to make the mouse click in vb. I used your example to set the mouse cursor to the position on the screen that I need, however now I want the mouse to click at that location without the user having to do so. Got any suggestions? Thanks, Big D


[2005] Control the users mouse -
1. How do i control the users mouse? I can make their mouse move to positions(0,0) etc... Even if their mouse is off my program. 2. Then how do i make their mouse left-click?


problem with mouse -
hi.. im having some problem with the sensitivity of the mouse. when moving it slow it works fine, but when i move it fast the mouse pointer only moves like half the way it should... seems like the mouse doesnt read fast enough... it wasnt always like this...but after some rei


Making the Mouse click by itself -
Hey, i need to know how to make the mouse click. For instance i want the mouse to click in certain places on the screen without the user having to move the mouse and clicking. Does anyone know how to do this?


Mouse Cursor Compatibility -
Does VB only dislpay 2-Colour mouse cursors? I made 256-colour mouse cursors, and they turn into 2-colour when I load them into VB! Also, VB has no support for animated mouse cursors. Should I just hide the mouse cursor and make a custom one? (DirectDraw Fullscreen App)