-
June 18th, 2013, 04:44 AM
#1
how to read things inside any window
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:
-
June 22nd, 2013, 10:51 AM
#2
Re: how to read things inside any window
Have you tried the GetWindowText API function?
Please remember to rate the posts and threads that you find useful.
How can something be both new and improved at the same time?
-
June 27th, 2013, 04:53 AM
#3
Re: how to read things inside any window
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?
-
June 28th, 2013, 08:00 AM
#4
Re: how to read things inside any window
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?
Please remember to rate the posts and threads that you find useful.
How can something be both new and improved at the same time?
-
July 1st, 2013, 10:21 AM
#5
Re: how to read things inside any window
Thank you for helping me out.
I used spy++8.
it's the buttons text I want to read ;-)
-
July 2nd, 2013, 08:47 AM
#6
Re: how to read things inside any window
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?
Please remember to rate the posts and threads that you find useful.
How can something be both new and improved at the same time?
-
July 4th, 2013, 11:12 AM
#7
Re: how to read things inside any window
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!
-
July 4th, 2013, 01:17 PM
#8
Re: how to read things inside any window
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.
Please remember to rate the posts and threads that you find useful.
How can something be both new and improved at the same time?
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|