Results 1 to 5 of 5

Thread: Is TextOut and SendMessage similar to each other?

  1. #1

    Thread Starter
    Member
    Join Date
    Apr 2016
    Posts
    61

    Is TextOut and SendMessage similar to each other?

    I was wondering if both have the same result? Can I use TextOut and SetCaretPos to send Text to a Window, just like SendMessage and GetWindowText?

  2. #2
    Fanatic Member Spooman's Avatar
    Join Date
    Mar 2017
    Posts
    868

    Re: Is TextOut and SendMessage similar to each other?

    ramp

    I'm not familiar with either, but...
    .. Did you try both?
    .. What were the results?

    Spoo

  3. #3
    VB-aholic & Lovin' It LaVolpe's Avatar
    Join Date
    Oct 2007
    Location
    Beside Waldo
    Posts
    19,541

    Re: Is TextOut and SendMessage similar to each other?

    No, they are not that similar. Can you describe what you are trying to do and why you think those APIs would be similar in that specific case?
    Insomnia is just a byproduct of, "It can't be done"

    Classics Enthusiast? Here's my 1969 Mustang Mach I Fastback. Her sister '67 Coupe has been adopted

    Newbie? Novice? Bored? Spend a few minutes browsing the FAQ section of the forum.
    Read the HitchHiker's Guide to Getting Help on the Forums.
    Here is the list of TAGs you can use to format your posts
    Here are VB6 Help Files online


    {Alpha Image Control} {Memory Leak FAQ} {Unicode Open/Save Dialog} {Resource Image Viewer/Extractor}
    {VB and DPI Tutorial} {Manifest Creator} {UserControl Button Template} {stdPicture Render Usage}

  4. #4
    PowerPoster
    Join Date
    Feb 2006
    Posts
    24,482

    Re: Is TextOut and SendMessage similar to each other?

    I guess nobody really cared whether Mighty Mouse could beat up Arnold Schwarzenegger after all.

  5. #5

    Thread Starter
    Member
    Join Date
    Apr 2016
    Posts
    61

    Re: Is TextOut and SendMessage similar to each other?

    I have never tried it yet Spooman... Assuming someone might have... I have used sendmessage to send string to another window appllication but never tried textout, if they have the same result...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width