how can i get the mouse (x,y) in c++?
how can i send the user to a website in C++?
thanks
getting mouse pos and sending the user to a website in C++
Re:getting mouse pos and sending the user to a website in C+
In C++, you can't. In C++ code on a particular operating system, you can.
On Windows: GetCursorPos and ShellExecute(your_url).
On Windows: GetCursorPos and ShellExecute(your_url).
Re:getting mouse pos and sending the user to a website in C+
hey im having a problem getting GetMousePos to work. could u post a simple example of putting the mouse x and y on the console screen.
thanks
thanks
Re:getting mouse pos and sending the user to a website in C+
1. Use GetCursorPos, not GetMousePos
2. Go to http://msdn.microsoft.com/library/ for all the information you could ever need.
2. Go to http://msdn.microsoft.com/library/ for all the information you could ever need.
Re:getting mouse pos and sending the user to a website in C+
lol oops. thank you i got it working now.