Thread: Setting Text simple

  1. #1
    ‡ †hë Ö†hÈr sîÐè ‡ Nor's Avatar
    Join Date
    Nov 2001
    Posts
    299

    Wink Setting Text simple

    Is it possible for a program to set the value of a text box in another application?
    Try to help all less knowledgeable than yourself, within
    the limits provided by time, complexity and tolerance.
    - Nor

  2. #2
    ¡Amo fútbol!
    Join Date
    Dec 2001
    Posts
    2,138
    I had asked this before and Fordy told me to use spy++. I never got to it so good luck trying whatever.

  3. #3
    Registered User
    Join Date
    Dec 2001
    Posts
    421
    yes it is possible
    Quidquid latine dictum sit, altum sonatur.
    Whatever is said in Latin sounds profound.

  4. #4
    the Corvetter
    Join Date
    Sep 2001
    Posts
    1,584
    Yeah, you would have to research spy++. I'm not sure how to do it, I've never needed it. You might want to do a search on www.google.com, that might come up with something!


    yes it is possible
    That was an absolutely useless post!
    1978 Silver Anniversary Corvette

  5. #5
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,793
    Spy++ will allow you to find the window that holds the edit (Its name and windows class).........with FindWindow() and FindWindowEx() (this finds child windows from the return of FindWindow()) you can gain a handle to that window and then using SendMessage() you can do loads of fun stuff with it

  6. #6
    Registered User
    Join Date
    Jan 2002
    Posts
    363
    >>That was an absolutely useless post!

    Hey, it answered the question, unlike this absolutely useless post.
    If you own a piece of land and there is an volcano on it and it ruins a
    nearby town, do you have to pay for the property damage?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. DirectX | Drawing text
    By gavra in forum Game Programming
    Replies: 4
    Last Post: 06-08-2009, 12:23 AM
  2. Help with setting text into LTEXT using Window Handle
    By jasperleeabc in forum Windows Programming
    Replies: 6
    Last Post: 05-08-2009, 08:18 PM
  3. simple text analyzsis program
    By prominababy in forum C Programming
    Replies: 4
    Last Post: 04-16-2009, 10:15 AM
  4. Replies: 0
    Last Post: 11-19-2008, 01:16 AM
  5. A bunch of Linker Errors...
    By Junior89 in forum Windows Programming
    Replies: 4
    Last Post: 01-06-2006, 02:59 PM