Click to See Complete Forum and Search --> : ListView and EnumChildWindows


pobri19
February 1st, 2009, 05:48 AM
Problem solved. Thanks.

Marc G
February 1st, 2009, 07:51 AM
Huh :confused:
lParam
[in] Specifies an application-defined value to be passed to the callback function.
Isn't that an explanation for lParam? Basically lParam can be any value you want and it will be passed to your callback function.

You cannot use ListView_GetItemText to get text from another process because your buffer is not writable by the other process.

I think you can use OpenProcess, VirtualAllocEx, WriteProcessMemory, ReadProcessMemory and LVM_GETITEMTEXT to get the text out.

pobri19
February 1st, 2009, 08:49 AM
Ok so that's the ONLY problem with the code? If that's the case, why is it saying there is 4 contacts (items in the list), when in reality there is only 2?

Marc G
February 2nd, 2009, 08:13 AM
Why did you remove your original post?
You should have left it so other people can benefit from it.
I will still leave this thread since my previous reply might still contain usefull information to some people.

pobri19
February 2nd, 2009, 09:41 AM
Why did you remove your original post?
You should have left it so other people can benefit from it.
I will still leave this thread since my previous reply might still contain usefull information to some people.

I'm sorry, I wouldn't normally, it's just that I'm working on something that I don't really want to be giving ideas out for yet. Not until I'm finished coding at least.