Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. (((((((How do I send a message!))))))

(((((((How do I send a message!))))))

Scheduled Pinned Locked Moved C#
jsontutorialquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    peshkunta
    wrote on last edited by
    #1

    I would like to use Win API's SendMessage( wnd, WM_GETTEXTLENGTH, 0, 0 );, or PostMessage function to be able to get the text from the textbox of another program. Let's say, I would like to be able to get the text from Instant Messenger and show it in my App. Does anyone know how to do this!

    M 1 Reply Last reply
    0
    • P peshkunta

      I would like to use Win API's SendMessage( wnd, WM_GETTEXTLENGTH, 0, 0 );, or PostMessage function to be able to get the text from the textbox of another program. Let's say, I would like to be able to get the text from Instant Messenger and show it in my App. Does anyone know how to do this!

      M Offline
      M Offline
      MohammadAmiry
      wrote on last edited by
      #2

      The method of getting text from a window is what you know already, but the matter is that usually in instant messengers, the class is not an "EDIT" through which you can GETTEXT. However, it is (usu.) an Internet Explorer_Server class. You may take a look at http://www.codeproject.com/cpp/yahoochattext.asp[^] for more information.

      P 1 Reply Last reply
      0
      • M MohammadAmiry

        The method of getting text from a window is what you know already, but the matter is that usually in instant messengers, the class is not an "EDIT" through which you can GETTEXT. However, it is (usu.) an Internet Explorer_Server class. You may take a look at http://www.codeproject.com/cpp/yahoochattext.asp[^] for more information.

        P Offline
        P Offline
        peshkunta
        wrote on last edited by
        #3

        I appreciate you giving me that example, but I don't understand it. I'm not very familiar with C++. If you are, could you write me an example of how I would use that. Thanks!!!

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups