AOL IM sending text?

This is a discussion on AOL IM sending text? within the Windows Programming forums, part of the Platform Specific Boards category; I have worked on this forever but I still can't get it. How do I send text to an AOL ...

  1. #1
    Programming is fun, mkay?
    Join Date
    Oct 2001
    Posts
    490

    Question AOL IM sending text?

    I have worked on this forever but I still can't get it. How do I send text to an AOL IM window?
    Website(s): http://www16.brinkster.com/trifaze/

    E-mail: trifaze_mattu@lycos.com

    ---------------------------------
    C++ Environment: MSVC++ 6.0; Dev-C++ 4.0/4.1
    DirectX Version: 9.0b
    DX SDK: DirectX 8.1 SDK

  2. #2
    Just one more wrong move. -KEN-'s Avatar
    Join Date
    Aug 2001
    Posts
    3,230

  3. #3
    Programming is fun, mkay?
    Join Date
    Oct 2001
    Posts
    490

    Post I know that...

    I have tried that but how do I send the keys. What is the function?
    Website(s): http://www16.brinkster.com/trifaze/

    E-mail: trifaze_mattu@lycos.com

    ---------------------------------
    C++ Environment: MSVC++ 6.0; Dev-C++ 4.0/4.1
    DirectX Version: 9.0b
    DX SDK: DirectX 8.1 SDK

  4. #4
    Registered User
    Join Date
    Dec 2001
    Posts
    9
    try making a function like this:

    void KeyStroke(char key)
    {
    int keycode = VkKeyScan(key);
    keybd_event(keycode, 0, 0, 0);
    keybd_event(keycode, 0, KEYEVENTF_KEYUP, 0);
    }

    this should send a keystroke to the active window
    Last edited by kje11; 12-29-2001 at 10:28 PM.

  5. #5
    Just one more wrong move. -KEN-'s Avatar
    Join Date
    Aug 2001
    Posts
    3,230
    to send it to another window use SendMessage()

  6. #6
    Programming is fun, mkay?
    Join Date
    Oct 2001
    Posts
    490

    Question Thanks...but what...

    Thanks, but what message do I put in SendMessage();?
    Website(s): http://www16.brinkster.com/trifaze/

    E-mail: trifaze_mattu@lycos.com

    ---------------------------------
    C++ Environment: MSVC++ 6.0; Dev-C++ 4.0/4.1
    DirectX Version: 9.0b
    DX SDK: DirectX 8.1 SDK

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Text positioning and Text scrolling
    By RealityFusion in forum C++ Programming
    Replies: 3
    Last Post: 08-13-2004, 01:35 AM
  2. Unknown Memory Leak in Init() Function
    By CodeHacker in forum Windows Programming
    Replies: 3
    Last Post: 07-09-2004, 10:54 AM
  3. Scrolling The Text
    By GaPe in forum C Programming
    Replies: 3
    Last Post: 07-14-2002, 05:33 PM
  4. Replies: 1
    Last Post: 07-13-2002, 06:45 PM
  5. Ok, Structs, I need help I am not familiar with them
    By incognito in forum C++ Programming
    Replies: 7
    Last Post: 06-29-2002, 10:45 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21