Results 1 to 7 of 7

Thread: Write text to external app's window

  1. #1

    Thread Starter
    Member
    Join Date
    May 2005
    Posts
    35

    Write text to external app's window

    Hi,

    In my program I need to write a string to a specific location on a window from an external application (party poker). Is this possible, and if so, what API are required?

    Thanks!

  2. #2
    Super Moderator manavo11's Avatar
    Join Date
    Nov 2002
    Location
    Around the corner from si_the_geek
    Posts
    7,171

    Re: Write text to external app's window

    I assume you mean write text in a textbox in another application, right?


    Has someone helped you? Then you can Rate their helpful post.

  3. #3

    Thread Starter
    Member
    Join Date
    May 2005
    Posts
    35

    Re: Write text to external app's window

    No, I was hoping to write text on top of what i think is just an image.

    See image below...


  4. #4

    Thread Starter
    Member
    Join Date
    May 2005
    Posts
    35

    Re: Write text to external app's window

    Would it be easiest to create a transparent borderless window and keep that on top?

  5. #5
    Super Moderator manavo11's Avatar
    Join Date
    Nov 2002
    Location
    Around the corner from si_the_geek
    Posts
    7,171

    Re: Write text to external app's window

    I suppose you could, although I'm wondering why you want this? I'm just curious...

    That's another options as well that would work...


    Has someone helped you? Then you can Rate their helpful post.

  6. #6

    Thread Starter
    Member
    Join Date
    May 2005
    Posts
    35

    Re: Write text to external app's window

    I've made a program that figures out the expected value of my hand based on my position at the table and the various stack sizes. I won't go into detail, but I'd like to display this data on the window so that I can easily read it quickly while I play (i play up to 8 tables at once).

  7. #7
    Old Member moeur's Avatar
    Join Date
    Nov 2004
    Location
    Wait'n for Free Stuff
    Posts
    2,712

    Re: Write text to external app's window

    You need to use the TextOut GDI function
    http://msdn.microsoft.com/library/de...ntext_20by.asp

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