Use the GetWindowText API
http://www.mentalis.org/apilist/GetWindowText.shtml
--- malkavian_gp <[EMAIL PROTECTED]> wrote:

> I'm sure that what i want is easy to do, i just
> havn't found any 
> information as to how to do it, so i'm hoping you
> guys can help me 
> out.
> 
> I'm writing a program that will sendkeys to another
> program.  So i 
> have both programs running, and have used appactive
> to activate the 
> program i want to pass information too.  (so far so
> good)
> 
> Now what i want to do is get information about the
> currently active 
> application, for example, should i give it the wrong
> information, 
> like date instead of postal code it will give me an
> error, i want to 
> know the title of the active window.
> 
> to write it a different way, i want to be able to
> get me.caption 
> from a program that has the focus (ie not the one
> that i'm writing, 
> but the one that i have activated with appactivate
> 
> hope this makes sense
> -- Mike
> 
> 



                
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/k7folB/TM
--------------------------------------------------------------------~-> 


'// =======================================================
    Rules : http://ReliableAnswers.com/List/Rules.asp
    Home  : http://groups.yahoo.com/group/vbHelp/
    =======================================================
    Post  : [EMAIL PROTECTED]
    Join  : [EMAIL PROTECTED]
    Leave : [EMAIL PROTECTED]
'// =======================================================
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/vbhelp/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to