| | |
Mouse click
![]() |
•
•
Join Date: Oct 2007
Posts: 95
Reputation:
Solved Threads: 0
Dear all,
Could you please help me? I would like to know whether it is the same or not. Is it the same "mouse click" and "mouse Press"? I want to detect the mouse is pressing with API. Which API should I use? I actually want to know the detection although I click outside of the main form. Please give me some suggestion.
best regards,
zawpai
Could you please help me? I would like to know whether it is the same or not. Is it the same "mouse click" and "mouse Press"? I want to detect the mouse is pressing with API. Which API should I use? I actually want to know the detection although I click outside of the main form. Please give me some suggestion.
best regards,
zawpai
check this prog if i didn't wrong to understand your question :
GetMouseButton States.zip
OK. Hope this helps..
GetMouseButton States.zip
OK. Hope this helps..
Never tried = Never Know
So, Please do something before post your thread.
* PM Asking will be ignored *
So, Please do something before post your thread.
* PM Asking will be ignored *
•
•
Join Date: Oct 2007
Posts: 95
Reputation:
Solved Threads: 0
Hi Jx_Man & choudhuryshouvi,
Now, I get the result what i want because i use some code given by Jx_Man.
My question is that I want to detect left or right click whether the mouse position arrive outside of main GUI. Eg, If I use Form_MouseDown, it can't detect mouse's click while the mouse's pointer get outside GUI.
I found some API from the internet, but some procedure is wrong. If so, i got the problem. Currently, I solve it.
Thanks all for giving some suggestions and sample code.
zawpai
Now, I get the result what i want because i use some code given by Jx_Man.
My question is that I want to detect left or right click whether the mouse position arrive outside of main GUI. Eg, If I use Form_MouseDown, it can't detect mouse's click while the mouse's pointer get outside GUI.
I found some API from the internet, but some procedure is wrong. If so, i got the problem. Currently, I solve it.
Thanks all for giving some suggestions and sample code.
zawpai
you are welcome my friend
don't forget to mark this thread solved..
all for the best.
don't forget to mark this thread solved..
all for the best.
Last edited by Jx_Man; Jan 16th, 2008 at 5:24 am.
Never tried = Never Know
So, Please do something before post your thread.
* PM Asking will be ignored *
So, Please do something before post your thread.
* PM Asking will be ignored *
![]() |
Similar Threads
- Mouse and Keyboard problems (Cases, Fans and Power Supplies)
- Simulate Mouse Move (C++)
- How to store data in data grid to database by single mouse click in Asp.net (ASP.NET)
- Simulate Mouse Click (Visual Basic 4 / 5 / 6)
- Mouse Right Click Menu (Windows NT / 2000 / XP)
- Mouse buttons are messed up (USB Devices and other Peripherals)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: OCX control missing - URGENT
- Next Thread: Data Extraction
| Thread Tools | Search this Thread |
* 6 429 2007 access activex add age application basic beginner birth bmp calculator cd cells.find click client code college component connection connectionproblemusingvb6usingoledb copy creat ctrl+f data database datareport date delete dissertations dissertationthesis dissertationtopic edit error excel excelmacro file filename form hardware header iamthwee image inboxinvb internetfiledownload keypress label listbox listview liveperson login looping machine microsoft movingranges number objectinsert open oracle password prime program prompt range-objects readfile reading record refresh remotesqlserverdatabase report save search sendbyte sites sort sql sql2008 sqlserver subroutine tags textbox time urldownloadtofile vb vb6 vb6.0 vba visual visualbasic visualbasic6 web window windows






