![]() |
|
#1
|
|||
|
|||
Mouse Location in Visual StudioCan anyone show me how to get the mouse location when clicked?
|
|
#2
|
||||
|
||||
Re: Mouse Location in Visual StudioCPP / C++ / C Code:
__________________
Use the force...read the source!! WYCIWYG -- what you code is what you get! |
|
#3
|
|||
|
|||
Re: Mouse Location in Visual Studioya i guess i will need a little more help. I am still in the learning phase, so please bear with me.
Here is the code that i am trying, #include<iostream> #include<windows.h> #include<cmath> #include<string> #include <afxwin.h> int main(int argc, char* argv[]) { POINT aPoint; CString info; GetCursorPos(&aPoint); info.Format("mouse point(x / y): %d / %d", aPoint.x, aPoint.y); MessageBox(info); } This doesn't seem right... Ravi |
|
#4
|
||||
|
||||
Re: Mouse Location in Visual StudioI posted a modification back at the other post.
__________________
Use the force...read the source!! WYCIWYG -- what you code is what you get! |
Recent GIDBlog
Python ebook by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| need help with a console menu system | BullBuchanan | C++ Forum | 6 | 20-Aug-2006 15:46 |
| How Visual C++ only from Visual Studio .net | Picstudent | .NET Forum | 2 | 28-May-2006 21:52 |
| Microsoft visual studio 6 | nadavsh | MS Visual C++ / MFC Forum | 0 | 05-Mar-2006 06:39 |
| Visual Studio .NET 2003 problem in executing C source files | Debugger1 | C Programming Language | 14 | 04-Jun-2005 03:51 |
| What is "Ambigious symbol" ??*( a compilation error) | small_ticket | C++ Forum | 2 | 07-Jan-2005 22:10 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The