Quote Originally Posted by nasreen View Post
In my case there are 5 textboxes and the class of all are same. So I can't to locate to a specific textbox.
As LaVolpe said, "you'll need to figure out how you can tell one from the other."

One way might be to get the control IDs using the GetWindowLong API. If the IDs are the same every time the app is run then you should be able to identify which textbox is which.

ID = GetWindowLong(hWnd, GWL_ID)