this valid for only Windows Forms... if you are using external executables..
then I belivie you can achivie using Reflections (System.Reflection
namespace), I don't have a sample of hand... did u try google?
VJ
"Mészáros Tamás" <me*****@sch.bme.hu> wrote in message
news:Oc****************@TK2MSFTNGP15.phx.gbl...
But this isn't my app, the target application is for example a browser,
and I only have an IntPtr handle from this application. Can I get its
active control as well?
Tamas
VJ wrote: If you have a Form... then, this.ActiveControl(), will give you the
ActiveControl in the form.
"Mészáros Tamás" <me*****@sch.bme.hu> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
Hi all,
how can i get the active control (which has the input focus) in an other
application? I have the handle of the active window, but I can't reach
the active control.
Any idea?
Thanks,
Tamas Meszaros