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

deactivate right mouse click for Active X -

I thought I stumbled on some code for this but I can't find it anymore.

I want to be able to have a right click event open a menu in an Active X control that is embedded in a web page. So far what I get is the popup menu I want as well as the menu that opens when you right click in the browser window. How does one make the right click specific to the Active X control?

 

deactivate right mouse click for Active X -
I thought I stumbled on some code for this but I can't find it anymore. I want to be able to have a right click event open a menu in an Active X control that is embedded in a web page. So far what I get is the popup menu I want as well as the menu that opens when you right click in


Mouse Click Choice - VB.Net -
How does one determine if an area of the active window allows a mouse click; ie you know the coordinates of the button/s for the active screen but want to make the decision which button to click depending on the choices. Any help is appreciated. Fred Hanna f.hanna@usa.net


Deactivating the right-mouse double-click -
Most experienced and capable ones, How can I deactivate the right-mouse double cilck? I've written code such that double-clicking the left mouse button does something. But (leaving out the long story here) I DON'T want anything to happen if the user double-clicks the right mouse b


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.


Small Window -
Hi all, sorry I was away for a while, it's because my pc crashed, but now it's fixed and even improved Well, here is my question: I want to do that when ever a user middle-clicks in the mouse, it will launch my app. My app will have several command buttons. 2 for both scrollbars in


How can I tell if a form is active -
I am writing a program that generates graphic patterns on one half of the screen that I can not allow to be covered by anything. I have code in place that keeps the mouse icon out of the images, and code that keeps any of my program's other forms out of the area. The problem is if Wind


Active X for Mouse Movement -
Hi , is there any Active Com dll which deals with recording of mouse movement and also save the recorded mouse events into a new file so that later on , I can open this file and playback the mouse movement. I am using VB 6.


Intercept Mouse Events -
I need to intercept the right mouse button before any other application recieves the message. The reason I want to do this is because I want a window to display when I right click the mouse no matter what window is active. I don't want the other applications to recieve the right click


Timer event and mouse respone -
Hi I have a huge app with >200 active x controls. All of them uses a timer to update themselves. This is a necessity, hovever, with so many timers mouse respone becomes a problem. Any sollution to this? The mouse hangs, want click etc...multiple clicks to do one simple thing etc..C


I want to programmatically click the mouse -
I want to be able to use something like SendMessageTimeout to send a mouse down and mouse up event. The problem is that when I call this and the 'click' is occurring on a Listbox. The listbox opens and then before the call returns, it closes. What I would like to do is click the l


Key Deactivate problem -
Hi Guys I would like to deactivate the windows & poppu menu key of the keyboard at a particular instance Have you got any idea I have used the API's setKeyBoardState, GetKeyboardState, but unable to get the result thanks


left click mouse -
I am trying to make a program where every once in a while the mouse will move to a certain spot on the screen, and then click there. I used SetCursorPos to move the mouse to the coordinates that i want, but i cant figure out how to simulate a mouse click. Please help. I need to know wh


Flexgrid and right-click... -
Is there a simple way to set the active column and row of a flexgrid when you right-click? Since it only seems to set them itself with a left-click. As it stands, I can loop through each col and row, and check the CellLeft and CellTop properties, along with the RowHeight and ColWid


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


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?


Emulating mouse click -
How to emulate a mouse click. i know how to move the mouse with api but i also want to cakk the mouse click for this i have a remote desktop controll and i want to be able to also click with my mous "on his screen"


how can i tell the mouse to click the button -
how can i tell the mouse to click the button like i do sendkeys it tell the keyboard i want to do the same trick but to the mouse click i know how to set cursor postion(SetCursorPos) but i dont know how to tell the mouse to click thanks alot to all the pepole that trying to help me


Getting active control content from other applications! -
How can i get the active control text from CURRENTLY ACTIVE APPLICATION using API? Example : if user's mouse is over textbox i will get its content or if user's mouse is over File menu i will get File etc. I try GetActiveWindow and so i have its handle then i get active class n


Get the position of all controls on the Active Form. -
I need to get the position of all the controls on the active form. At the moment I am using enum child windows to get all the controls on the active form and then i use the GetWindowRect function that gets the position of each of the found controls. Is this the correct way to do thi


How to catch mouse click message -
Hi... Is it possible to catch every single mouse click message like WM_LBUTTONDOWN regardless which application is active? I tried using IMessageFilter but it is limited to the current application. Thanks


Disable double click based on mouse position -
In the MouseDown event of a flexgrid I can access the y co-ordinate of the mouse. When you double click on a flexgrid - I assume the mouse down event triggers first. When I right click on a particular flexgrid I pop up a menu. when I double click on the flexgrid, I show a form.


DIsabling a mouse click -
Hi All ... this may sound amatuer .... and there are many thread talking about disbling control to KB and Mouse ... but ... I tried and was not sucessful to achieve what I want ...... So ... can anyone help me out .... Here is my problem ... I am running my applic startup fro


Mouse Click and F1 -
My scenario: I am adding Help to one of my company's apps, but because we use third party products aslo, we came across a problem. When the F1 key is pressed, the help fires no problem except for drop-down combos and grids (third party products - not VB). For those particular ones, if


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


Losing Focus and detecting mouse click -
Two questions: 1) Under what circumstances does the LostFocus event occur on a form. I want to execute some code as soon as another application is made active but the LostFocus event doesn't seem to do this. In other words, I would like to execute some code as soon as another appl


Form Deactivate won't work -
Hi, I want to update my Toolbar buttons on my MDI Parent Form, when my child form lost focus, but he won't start the deactivate sub when I switch forms. Any idea?


how to deactivate start button's menu -
how to deactivate start button's menu ? how to deactivate taskbar's context menu ?


Event raised when appli isnt active -
Hi all, My app owns 'always visible' forms. I can hide them when the appli is reduced (resize event), and would like to do the same when it isnt the active one anymore (by a clic on Windows' task bar for example, or with a ALT-TAB). I dont find any event to catch (resize or de


mouse manipulation -
Ok, i'm looking for a way to send a mouse click to either some X,Y coord, or to the place where the mouse is. Example: say there's a little box at 192,303 (X,Y) and i want to click on it. I could move the mouse there, and then send a click to that place? or just send a click there di


Move Click -
hi friends I have in my pocket how to use SetCursorPos & Mouse EVENT API usage. But i want Mouse Click on given coordinates... Without moving Cursor Means i can use Mouse Event API to generate Click But cursor should stay where it is But click should be generated.. Lets tak


catch mouse! -
I know I can get the position of the mouse cursor when it is hovering/moving over the active form however how can I capture the mouse even when the mouse pointer/cursor is off the form? is this possible?


mouse clicking and control -
Hello I’m a new member and this is my first post I NEED HELP with VB Also mentally but that’s another story I want to know how to make the mouse click. But not just click, i want it to interact with another program. For example what i want to do is open 1 program click


Send Mouse Clicks to ONLY 1 program -
I want to send a mouse click signal to one program without messing around with other programs even if the one program isnt the active window... Is this possible? If so how?


Game: Shooting towards the mouse -
I'm making a pretty basic game, however: How do I make it so when I click, a line (the bullet) gets created on my ship and sent towards the position of the mouse when clicked (as in, I want it to go to were the mouse *was* at the time of the click, not follow the mouse around, lol)


Controlling Mouse Click -
Has anyone specifically actually been able to code a real live mouse click outside of a form? I've read numerous articles and posts about using API SetCursorPos to move the mouse to a location -- works great. But the mouse_event / SendInput API functions are just not making the mouse


simulate a mouse click -
i need my vb program to move the mouse and do a left click to a different program... ok i have everything working cept the click part... anyone know how to get vb to send a mouse click ???


Keyboard and Mouse Problems -
Another problem from me: I have a labtec ultraflat keyboard and mouse (both wireless). My problem is that sometimes the keyboard will stop responding and the keys have to be pressed many times before it will accept it. Secondly the mouse wont always click. The button goes down


Detect Mouse Click Anywhere On Screen -
I've created a simple "color picker" which allows the user to move the mouse anywhere on the screen and "pick up" a color under the cursor. Right now, the user has to press the <esc> key to "grab" the color. I'd like to be able to use a mouse c


Mouse Moving *Resolved* -Buggy Programmer -
Simple Question... I would like to move the mouse cursor to pixel point x,y, where x is text1.text, and y is text2.text. and upon getting to the point, I want to simulate a left mouse click, If you can, also put how to sim a double-click, right click, and middle click ... thanx


Mouse Press Down -
Hi i need help to make simulation of a mouse press down. For example there are two command buttons and i need my mouse to get to the first one and click and then to get to the secon one and click whitout me doing anythink. When mouse click button1 msgbox "1" and when mouse cl