API use

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

hi everyone!

i have a question. I have two edit boxes in a program. and I have to enter
information to the second edit box by using api from a C# program . But i can
not use the FindWindowEx function for it. It only enters information to the
first one. How can i do it??

Thanks for your help!
 
Arda Zuber said:
hi everyone!

i have a question. I have two edit boxes in a program.

In a form you mean?
and I have to enter
information to the second edit box by using api from a C# program .

What you mean with this, give more details
But i can
not use the FindWindowEx function for it.

Why not? and why you have to use that, if both controls below to the same
form ( or same app even ) you can keep a reference to them



I think you need to provide more info.



cheers,
 
hi again!

let me start all over.

i have a C# Program, say A.

and I have another program,say B with two edit boxes.
I need to write "hello" to B.EditBox2 but when I use API and FindWindowEx, I
can only write to B.EditBox1.

Is there any way to write to B.EditBox2??? With API or without!!!

thanks.

-arda
 
Hi,

Probably the problem is that EditBox1 is the one with the focus, do you
control program B ?
If so you could define win. events and send them over. it's program B who
update the controls as needed.


cheers,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top