|
-
April 14th, 2004, 11:25 AM
#11
Originally posted by kirants
if it is a different app, you need to hook into that.
There are ways to do it.
The reason why it works for count is the count is the return value of SendMessage(LVM_GETITEMCOUNT).
However, for getting the text, you pass a buffer, which is not a valid address in another process space ( exception being WM_GETTEXT across processes, which is handled differently ).
This article would probaly help
I appreciate your reply very much, and I understand your explanations. BTW here, let me ask one more.
I could get edit controls' text of another process's window with sendmessage(WM_GETTEXT). Is this different form ListCtrl?
Thanks.
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
|