User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Visual Basic 4 / 5 / 6 section within the Software Development category of DaniWeb, a massive community of 422,672 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 4,682 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums
Views: 1142 | Replies: 4
Reply
Join Date: Oct 2007
Posts: 85
Reputation: zawpai is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
zawpai zawpai is offline Offline
Junior Poster in Training

Mouse click

  #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
AddThis Social Bookmark Button
Reply With Quote  
Join Date: May 2007
Location: India
Posts: 493
Reputation: choudhuryshouvi is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 45
choudhuryshouvi's Avatar
choudhuryshouvi choudhuryshouvi is offline Offline
Posting Pro in Training

Re: Mouse click

  #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  
Join Date: Nov 2007
Location: � Jogja �
Posts: 2,584
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 
Rep Power: 11
Solved Threads: 235
Jx_Man's Avatar
Jx_Man Jx_Man is offline Offline
Posting Maven

Re: Mouse click

  #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  
Join Date: Oct 2007
Posts: 85
Reputation: zawpai is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
zawpai zawpai is offline Offline
Junior Poster in Training

Re: Mouse click

  #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  
Join Date: Nov 2007
Location: � Jogja �
Posts: 2,584
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 
Rep Power: 11
Solved Threads: 235
Jx_Man's Avatar
Jx_Man Jx_Man is offline Offline
Posting Maven

Re: Mouse click

  #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 4:24 am.
Never tried = Never Know
So, Please do something before post your thread.
* PM Asking will be ignored *
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb Visual Basic 4 / 5 / 6 Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the Visual Basic 4 / 5 / 6 Forum

All times are GMT -4. The time now is 4:28 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC