Detecting MouseUp on another apps form -
Hi,
I am trying to find out how I can detect the mouseup on a form that belongs to another application. I can detect the left key via GetAsyncKeyState but haven't come across any code to detect the mouseup.
Any ideas?
Thanks,
Rob
Detecting MouseUp on another apps form -
Hi,
I am trying to find out how I can detect the mouseup on a form that belongs to another application. I can detect the left key via GetAsyncKeyState but haven't come across any code to detect the mouseup.
Any ideas?
Thanks,
Rob
mouseup issue -
i have a form with a label on it
Private Sub Label1_mousedown(ByVal sender As System.Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles Label1.MouseDown
' do stuff
End Sub
Private Sub Label1_mouseup(ByVal sender As System.Object, ByVal e As System
[resolved] - Which control is the sender -
Private Sub grid_MouseUp(ByVal sender As Object, _
ByVal e As System.Windows.Forms.MouseEventArgs) _
Handles grdMain.MouseUp, _
grdTab1.MouseUp, _
grdTab2
detecting mouse hit on a graphic line -
I would like to be able to place a line dynamically through the user interface of a form or another suitable container and then be able to detect a mousemove /mousedown/mouseup. Can this be done? The intention is to enable a user to interactively connect objects rather as in a flow
Detecting Office Apps [Solved] -
I was wondering if it was possible to detect Office Apps (Excel Word etc) and the version (2000, ,2002, 2003 etc.)
Been pondering this but never really searched around, seemed like a common enough situation that hopefully someone on the forums would have experience with.
Here's a tricky one - maybe! MSFlexgrid: mouseup -
I need to know which col the mouse is positioned over when the mouseup event fires (I want to drag and drop info from cell to cell) The mouseup event shows the cell the pointer was over when mousedown fired...
MouseUp Event Doesn't Occur -
On my computer, when OPENING a large program that takes huge amount of resources and memory, while releasing the mouse (MouseUp), the MouseUp event doesn't occur.
This doesn't happen always but sometimes which make my application malfunction.
Does this happen to anyone?
Is there a f
More than one Popup Menus -
I have a form.
When I right click, using the MouseUp action, I show a PopupMenu.
One of the options on this menu shows another form.
On this second form, when I right click, the PopupMenu does NOT appear (although the MouseUp action gets fired correctly).
HOWEVER:
If on my fi
Outside link to mouseup, etc -
I have a program where I have a main form that uses mouseup/mousedown commands on different command buttons. I am now adding a keyboard hook using API, which I want to run the EXACT same commands as the mousedown or mouseup (depending on key action). I am wondering if there is a way
Could I get some VB help with drawing lines from coordinates -
I need to write code for a form called frmDraw that when the user presses the mouse button at one point, moves the mouse and then releases the button at a second point, a line is drawn on the form between the two points. I know I have to store the X, Y coordinates during the MouseDown
MS Flexgrid / MSHFlexGrid Bug -
I came across a interesting bug in the MS Flexgrid and MSHFlexGrid.
Put a grid on a form. In its MouseUp event, put a debug.print message. Now run the app. Left-click on the grid and drag off the grid. Release mouse button. You see the message. Now do the same with the right mouse
detecting who logs into my server -
i have sql server 2000 installed on my machine and i'm creating some small test apps.
these apps worked just fine until just recently.
i got an error saying, password was incorrect.
after looking around I found where I can change the username and password for the server.
def
Detecting Form Movement -
Hi
Is there a way of detecting when the user has moved a form by clicking and dragging the form title bar.
I have considered removing the forms title bar and capturing the movement using an API call. However i can not do this as i have a menu system.
please help
Si
[2005] Detecting hardware -
Just got a couple of questions about detecting a machines hardware.
I've been asked to write an application that detects the users hardware, kind of like an installer that detects system requirements.
How would I go about detecting a users CPU and it's frequency and how would I g
Detecting Hooks and Detours -
I know it’s possible in VB, because I've seen other vb apps that are capable of doing it.
I am not interested in hooking or detouring in VB - I am interested in DETECTING malicious hooks/detours.
I am developing an anti-cheat for games that are generally victims of special load
count records in subform -
How can I count records in a subform? not in the whole table, only in the current record...
Ex: The CD form has a subform (apps). This CD has 7 apps. the apps are 7 records in the apps subform. When navigating the CD form the apps subform updates as the CD ID changes.
For t
Detecting if a form is loaded -
What's the best way of detecting if a form is loaded? This has to include if it's loaded but hidden ala form2.hide
Selection box on a picture -
Anyone have some code that will draw an expanding (or shrinking) rectangle on a form or picture, after I mousedown, move over a selected area, and then mouseup.
Mousemove fills in my rectangle for each increement in X and Y, and is too messy.
Using mousedown and moseup alone, I
Gui -
I've noticed that most VB Apps look about the same. Is there some type of control you could you to give your VB apps a unique look? The grey form/controls (considering that you have your 3D object set to default in your display control panel). I know you can change the color of your fo
Command buttons, mousedown, mouseup -
Hello all,
I would like to know how to create a command button that uses a mouseover, mousedown, and mouseup events. For instance, on the mouseover I would like to change the image, and also do the same for the mousedown & mouseup events.
Using the conventional Command button d
How to Make App Like Gmail Notifier -
The Gmail systray app will temporarily display a box with text on top of other any other apps, but still allow other apps and forms to be used. The user does not have to dismiss the window, it just fades away after 15 seconds or so.
What's the right way to put a form on top without
Window On Top Problem -
I have a form which I open to be on top of all other forms/apps that are open.
It works fine except that if I minimize all the other forms/apps on the screen so that only my 'On Top' form is visible, then I start un-minimizing the other forms/apps, the 'On Top' form is no longer on
Hiding context menu -
Hi guys,
I am detecting a right click on a datagrid, detecting the row clicked on, then showing a context menu. This all works fine.
When the context menu is clicked, it moves to the next screen, but does not hide the context menu until another object is selected.
How can I hi
Disable DblClick event ! -
Is there a way to disable DblClick event on ActiveX control ?
The problem is, if I click on a control, MouseDown will run first, then MouseUp, but the next click, DblClick will run instade of MouseUp and MouseDown.
I want in all cases, MouseDown and MouseUp to run
Window over all other apps -
I'm developing an app with a single form. I wont see this form over all other apps running.
Than means: if I started a new app, "MY FORM" have to remain visible on top.
¿Can somebody help me to do that?
Thanks in advance
Ruben (Uruguay)
Moving from VB5 to VB6 -
I'm considering moving all my apps from VB5 to VB6. There's a mixed bag of apps that I would be converting, most of them using databases in some form or another (which I was under the impression would be the only problem I'd have converting).
Is there any good reason why I should c
The HIWORD(lParam) for Edit -
Hi, could someone please tell me what is the lParam for the MouseUp event for Edit, more precisely, I would like to SetDlgItemText whenever the user MouseUp the edit. Please help.
Detecting Running Apps -
How do I write a program to detect the applications that are currently running on my computer? Specifically, when Internet Explorer is running, I'd like to add the URL being visited to a combo list.
I'll appreciate any feedback
Thanks
VBGuy74
Are C# apps REALLY faster than VB.net or VB6 apps -
Maybe Im misinformed about C# ... someone please correct me if I am:
VB.net and C# both compile to the same Common Language Runtime. This kind of leads me to believe that C# gives you all the disadvantages of the unreadability of C+ with no advantage in app execution speed.
If
Make VB act as button... -
Hi, is it possible so that when my VB form opens it mouseup and mousedown are automatically done without the user using the mouse? I need the click to be in the top left of the form if it's possible...
Thanks
Right Click Mouse -
Hi Currently i'm have Activex Control made by some one else (textbox with some advanced properties and event added). From it documentation, i found it was made based on VB standard Textbox. The problem is, it's mousedown and mouseup event doesn't work (not fire at all, the event does e
Send an apps forms collection to DLL -
well that is what I want to do..... can it be done.
I want to send my apps form collection to a DLL so that I can use a for each to unload each form... I would use this in about 10 of my apps which is why I want to put it into a DLL..
Passing a click event back to parent form -
Hi
I am creating a button usercontrol.
I created a window control library with 3 button images.
My button has a regular, hover, and click state.
I want the usercontrol to send back to the parent that the usercontrol was clicked on the MouseUp of the click state picturebox.
Detecting save or cancel -
When you use this ...
Open CommonDialog1.FileName For Output As #1
... to open a Save Dialog - is there a way of detecting (on the form with the 'Open' code on it) whether the user clicked 'Save' or 'Cancel'?
Thanks for any help.
Help with MouseMove, MouseDown, and MouseUp in picturebox control -
hi, i am having a bit of a problem. i am using the MouseMove, MouseUp and MouseDown events of a picturebox to produce a box in which one can write their name. the only problem i have is that it doesn't draw a smooth line. is there any way to speed up the mousemove function or does anyo
How to keep a form over any apps. -
I've created a small ticker, only thing left to do is to make it stay over any app. It keeps going to the background when clicking on other apps. Any ideas?
Question about programs that have a form always on top -
does anyone know of a way to force a program thats set to always be on top to be forced to the back.... i have some apps that have this irratating stuff that blocks my screen... is there any way have a vb app or anything push it bhind my other apps?
Detecting MouseOut() -
Not sure if this is in the right place but I need help detecting whether the mouse has left a control, something like a MouseOut function or similar to.
Thanx in advance if u can help
Detecting mouse button status -
I thought this would be easy, but i've searched around a bit and I can't seem to come up with an answer. How would you go about detecting the state of the mouse buttons.. not just for your own application, but for windows in general?
Detecting movement of a form -
Does anyone know how to detect if a form is moved, in order to align another form with it?