473,394 Members | 1,750 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

mouse/keyboard output

Can anyone give me some pointers on how to go about writing a c++
program to control the mouse and keyboard? I would like to be able to
tell the mouse where to move on the screen and to click on command. I
would also like to be able to use the keyboard to write to the screen.
I have basic c++ knowledge but I am stuck on this problem. Thanks for
the help.

Bryan

Nov 17 '06 #1
7 6719
* BN*********@gmail.com:
Can anyone give me some pointers on how to go about writing a c++
program to control the mouse and keyboard? I would like to be able to
tell the mouse where to move on the screen and to click on command. I
would also like to be able to use the keyboard to write to the screen.
I have basic c++ knowledge but I am stuck on this problem. Thanks for
the help.
Check the FAQ.

--
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
Nov 17 '06 #2

BN*********@gmail.com wrote:
Can anyone give me some pointers on how to go about writing a c++
program to control the mouse and keyboard? I would like to be able to
tell the mouse where to move on the screen and to click on command. I
would also like to be able to use the keyboard to write to the screen.
I have basic c++ knowledge but I am stuck on this problem. Thanks for
the help.

Bryan
readthe faq: section 5.5 can help
http://www.parashift.com/c++-faq-lite/how-to-post.html

Nov 17 '06 #3
umm.. that was all of very little help. I looked at the FAQ and could
not find the answer to my question anywhere. Had I been able to find
the answer I never would have posted. Can you direct me to where the
answer is instead of saying simply saying the answer exists?
Salt_Peter wrote:
BN*********@gmail.com wrote:
Can anyone give me some pointers on how to go about writing a c++
program to control the mouse and keyboard? I would like to be able to
tell the mouse where to move on the screen and to click on command. I
would also like to be able to use the keyboard to write to the screen.
I have basic c++ knowledge but I am stuck on this problem. Thanks for
the help.

Bryan

readthe faq: section 5.5 can help
http://www.parashift.com/c++-faq-lite/how-to-post.html
Dec 7 '06 #4

BN*********@gmail.com wrote:
umm.. that was all of very little help. I looked at the FAQ and could
not find the answer to my question anywhere. Had I been able to find
the answer I never would have posted. Can you direct me to where the
answer is instead of saying simply saying the answer exists?
Most probably your operating system owns the mouse, so you would need
to spell out which operating system you are working on. Unlike Java,
C++ has no standardised platform independent mouse abstraction, though
you should be able to get access to the mouse from a C++ GUI toolkit.

regards
Andy Little

Dec 7 '06 #5
* BN*********@gmail.com:
[top-posting]
Evidently you didn't read the FAQ you were directed to.

>umm.. that was all of very little help.
It should have been, but you didn't read it.

I looked at the FAQ
Doesn't help to look, you have to read.

and could
not find the answer to my question anywhere.

Doesn't help to look, you have to read.

Had I been able to find
the answer I never would have posted.
One may wish...

Can you direct me to where the
answer is instead of saying simply saying the answer exists?
http://www.parashift.com/c++-faq-lite/how-to-post.html
--
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
Dec 7 '06 #6

Alf P. Steinbach wrote:
* BN*********@gmail.com:
[top-posting]

Evidently you didn't read the FAQ you were directed to.
Which is the correct faq for this ... faq 40.5?

regards
Andy Little

Dec 7 '06 #7

kwikius wrote:
Alf P. Steinbach wrote:
* BN*********@gmail.com:
[top-posting]
Evidently you didn't read the FAQ you were directed to.

Which is the correct faq for this ... faq 40.5?
hmm .. perhaps I should have looked at faq 5.5 !

regards
Andy Little

Dec 7 '06 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Michael J Whitmore | last post by:
Greetings, I have a very simple question. How do you simulate a user input to turn off a screen saver in Windows (either a mouse movement, mouse click, or keyboard input)? I promise I searched...
8
by: Nolan Martin | last post by:
Is it just me or are there no good librarys out there to access the keyboard or mouse? I have been looking around for a while now and can only find ones that are bundled with a bunch of other...
0
by: George Hartas | last post by:
I am using Visual C# .NET 2003 to make a ComboBox accept both mouse and keyboard selection. For mouse selection code, I double-clicked ComboBox to get the default "comboBox1_SelectedIndexChanged"...
9
by: DotNetShadow | last post by:
Hi Guys, I have been having this problem recently where I have a form with a textbox and button, if in the button event I have the following: Private Sub Button1_Click(ByVal sender As...
16
by: dfaber | last post by:
Hi all, I have been searching for a keyboard and mouse tracker on linux. I've read solutions (watch at sourceforge) which look at /proc/interrupts to check keyboard or mouse activity. I also read...
0
by: Gamey | last post by:
I have an application that NEEDS (don't ask) to handle additional mouse and keyboard processing during DoDragDrop. Normally, DoDragDrop kindly squashes all keyboard and mouse events. Alternate,...
0
by: ludwig.frank | last post by:
Hi, I am attempting to detect mouse clicks from within curses, using "select" on sys.stdin. It is working great within an xterm under X, but not very well in a "real" linux console. When I click...
18
by: eliss.carmine | last post by:
Is it possible to simulate a mouse click in the window I made (it's a Form), but not give it focus? I tried using WinAPI's mouseevent and SendMessage of WM_LBUTTONDOWN/WM_LBUTTONUP as suggested...
1
by: =?Utf-8?B?aG9tYW50Y3c=?= | last post by:
-windows xp -dell dimension 9150 The computer starts normally, loads up the blue login screen. I can move the cursor around the screen and type on keyboard. Then after roughly 3 seconds...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.