Get text from handle window
Hi, im using C#.
I handle a window by this code line:
child = FindWindowEx(Parent, IntPtr.Zero, "DirectUIHWND");
This window is belong to "DirectUIHWND" class and it have textBox.
Im trying to get this text from textBox.
I've tryed the next function:
int winText = GetWindowText((int)child, strBldr, strBldr.Capacity);
But this function return the capture and not the text from the searchBox.
Any idea how can i get the text from the handle window?