I'm trying to get information from a windows form of another application.
I can read data from textbox or label of this application but not from a PANEL,because this panel doesnt contain controls.
I need your suggestions.
Thanks in advance. Here the code that i'm using :
For Each top As windowsAPIoutils.ApiWindow In enumerator.GetTopLevelWindows()
For Each child As windowsAPIoutils.ApiWindow In enumerator.GetChildWindows(top.hWnd)
If top.MainWindowTitle.StartsWith("TITLE_Of_APPLICATION") Then
'The class name of the control
If child.ClassName = "TEdit" Then
textbox1.Text = child.MainWindowTitle
End If
End If
Next child
Next top