MartinSchuster
asked on
Enter control in ...
How can i enter a control in a form which is not from my Application. (like a Textfield in a Hompage). How i activate and set the focus to the Form, i know already, but i don't know how i can enter a field on the form!
maybe SendKeys?
or are you triing to add a brand new control?
You need to use a windows API call
Declare Function TextOut Lib "gdi32" Alias "TextOutA" (ByVal hdc As Long, ByVal x As Long, ByVal y As Long, ByVal lpString As String, ByVal nCount As Long) As Long
try that, im not sure if itll fit your needs
what it does is sets text on a window at x,y
Declare Function TextOut Lib "gdi32" Alias "TextOutA" (ByVal hdc As Long, ByVal x As Long, ByVal y As Long, ByVal lpString As String, ByVal nCount As Long) As Long
try that, im not sure if itll fit your needs
what it does is sets text on a window at x,y
ASKER
And how can i find out where the window (control) is?
ASKER
And how can i find out where the window (control) is?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks