Thread: Sending Messages to the computer

  1. #1
    Registered User
    Join Date
    Jun 2005
    Posts
    4

    Sending Messages to the computer

    Is there any way to be able to send a message to the computer(such as a button being pressed or a mouse clicking), without accualy having to do that?

    Please tell me if I haven't given you enough information on what i'm asking for.

  2. #2
    Banned
    Join Date
    Jun 2005
    Posts
    594
    you want your computer to simulate a mouse click, or keyboard
    hit so that your computer will do something?

  3. #3
    Registered User
    Join Date
    Jun 2005
    Posts
    4
    Yes that is exactly what I want.

  4. #4
    ¡Amo fútbol!
    Join Date
    Dec 2001
    Posts
    2,138
    Using Windows? If so, look up SendMessage.

  5. #5
    Deprecated Dae's Avatar
    Join Date
    Oct 2004
    Location
    Canada
    Posts
    1,034
    Quote Originally Posted by golfinguy4
    Using Windows? If so, look up SendMessage.
    That covers the message to the computer part, only if youre using Win32 programming however.. but it doesnt cover the simulating a keystroke or mouse click without doing it physically. Anyone know that part?
    Warning: Have doubt in anything I post.

    GCC 4.5, Boost 1.40, Code::Blocks 8.02, Ubuntu 9.10 010001000110000101100101

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. problem with sending BN_CLICK messages
    By Bozyo in forum Windows Programming
    Replies: 3
    Last Post: 08-11-2004, 12:35 AM
  2. Windows Messages Queuing Up Whilst Looping
    By mrpickle in forum Windows Programming
    Replies: 12
    Last Post: 12-16-2003, 03:23 PM
  3. upgrade computer ?
    By teeyester in forum Tech Board
    Replies: 4
    Last Post: 10-11-2003, 09:51 PM
  4. Regarding Undergraduate Computer Majors
    By UnregdRegd in forum A Brief History of Cprogramming.com
    Replies: 11
    Last Post: 10-04-2003, 11:55 AM
  5. Computer engineering - programming.
    By Unregistered in forum C Programming
    Replies: 10
    Last Post: 07-15-2002, 02:37 PM