![]() |
|
#1
|
|||
|
|||
Mouse ClickHi all,
I want to do something like this: I want to detect the moment the user click on the left mouse button in ANY window, so that I can do something else once they click. How can I do that? Thanks in advance, P. |
|
#2
|
|||
|
|||
Re: Mouse ClickHello puffamuffa,
Well, what I would do is use the GetAsyncKeyState() function. Ex: Code:
I hope I've been of some help. |
|
#3
|
|||
|
|||
Re: Mouse ClickThanks Brenton S. I will have a go with this function.
|
Recent GIDBlog
Writing a book by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to generate mouse event? | high12398 | C++ Forum | 3 | 20-Apr-2006 19:24 |
| How to move with mouse, drawn line. | stormlab | C++ Forum | 0 | 01-Apr-2006 13:20 |
| Automatic mouse moving and clicking | Padek78 | MS Visual C++ / MFC Forum | 2 | 29-Mar-2005 00:50 |
| Detecting a mouse click outside of control | arran.s | MS Visual C++ / MFC Forum | 1 | 27-Oct-2004 07:01 |
| Sydog's DVD to Divx Conversion Guide | asanthadenz | Computer Software Forum - Windows | 1 | 14-Mar-2003 15:08 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The