I'd like to know how to read buttons or body text from some child window.
I already found the window handle ;)
It's the clipboard-window I'd like to read to capture the cut-addresses:
Attachment 31535
Printable View
I'd like to know how to read buttons or body text from some child window.
I already found the window handle ;)
It's the clipboard-window I'd like to read to capture the cut-addresses:
Attachment 31535
Have you tried the GetWindowText API function?
yheah, but GetWindowText only returns the title: "20 of 24 - Clipboard"
Maybe there is something that isn't a child window, but more like a child-button I need to address?
If you got the title of a parent window, then the window handle you used doesn't belong to the child window you want to read. How are you locating the window handle? Have you used EnumerateChildWindows?
Thank you for helping me out.
I used spy++8.
it's the buttons text I want to read ;-)
Attachment 31567
It appears to me that it's not a button. It's sorta like a list, but then there's a down arrow to bring up a menu, yes? Do you get a different window handle for a list item than for the area above the list?
No handles at all, only these two I've shown.
I came to understand that it could be windowless controls. But I can't find any VB(a) coding that does anything with it. Msdn lack also of much information!
It is possible that the list isn't a separate control from the window containing the title. If it is a windowless control, then perhaps it may only be possible to read items through the use of character recognition. Although I think I read someplace that a windowless control has a window only when the user is interacting with it.