Reply

Join Date: Oct 2007
Posts: 95
Reputation: zawpai is an unknown quantity at this point 
Solved Threads: 0
zawpai zawpai is offline Offline
Junior Poster in Training

Mouse click

 
0
  #1
Jan 15th, 2008
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
Reply With Quote Quick reply to this message  
Join Date: May 2007
Posts: 537
Reputation: choudhuryshouvi is an unknown quantity at this point 
Solved Threads: 49
choudhuryshouvi's Avatar
choudhuryshouvi choudhuryshouvi is offline Offline
Posting Pro

Re: Mouse click

 
0
  #2
Jan 16th, 2008
where did u find "mouse press" event???

could u tell ur question more clearly???
Shouvik_The_Expert_Coder
Have a problem? Don't worry just give me a call and I'll fix it for you.
Reply With Quote Quick reply to this message  
Join Date: Nov 2007
Posts: 2,641
Reputation: Jx_Man is a glorious beacon of light Jx_Man is a glorious beacon of light Jx_Man is a glorious beacon of light Jx_Man is a glorious beacon of light Jx_Man is a glorious beacon of light Jx_Man is a glorious beacon of light 
Solved Threads: 245
Jx_Man's Avatar
Jx_Man Jx_Man is offline Offline
Posting Maven

Re: Mouse click

 
1
  #3
Jan 16th, 2008
check this prog if i didn't wrong to understand your question :
GetMouseButton States.zip
OK. Hope this helps..
Never tried = Never Know
So, Please do something before post your thread.
* PM Asking will be ignored *
Reply With Quote Quick reply to this message  
Join Date: Oct 2007
Posts: 95
Reputation: zawpai is an unknown quantity at this point 
Solved Threads: 0
zawpai zawpai is offline Offline
Junior Poster in Training

Re: Mouse click

 
0
  #4
Jan 16th, 2008
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
Reply With Quote Quick reply to this message  
Join Date: Nov 2007
Posts: 2,641
Reputation: Jx_Man is a glorious beacon of light Jx_Man is a glorious beacon of light Jx_Man is a glorious beacon of light Jx_Man is a glorious beacon of light Jx_Man is a glorious beacon of light Jx_Man is a glorious beacon of light 
Solved Threads: 245
Jx_Man's Avatar
Jx_Man Jx_Man is offline Offline
Posting Maven

Re: Mouse click

 
0
  #5
Jan 16th, 2008
you are welcome my friend
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 *
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Visual Basic 4 / 5 / 6 Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC