I've known that a control gets its handle when it can be seen the first time.
My problem is that in my program , I want to get the value of a control in anther forms(not created by me).When I use the API "ChildWindowFormPointEx" , it returns zero--it hasn't been seen ever--so I can't get it .
Who can help me? Thanks in advance!
How to get the value of a control if it 's handle is zero?
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

PJ MartinsRank #2,548 · 548 reputationPosted Jun 1, 2010, 10:59 AM EDT
du lading3 reputationPosted Jun 2, 2010, 7:13 AM EDT
Besides,I could only get the handle of the form .Could I use Form.Controls to loop? If yes , how can do it?I really have no idea.
Hoping for your answer!
PJ MartinsRank #2,548 · 548 reputationPosted Jun 2, 2010, 9:37 AM EDT