question:
there is two program
program A have the listview control which handle is 0x1111 (for example)
program B have already get the handle of program A' listview have 0x1111
and the problem is:
when i send the message,
can clear the programe A's listview
but when i send the message,
can not chage the contend of listview of program a,
so how can i do?
thanks :?:
there is two program
program A have the listview control which handle is 0x1111 (for example)
program B have already get the handle of program A' listview have 0x1111
and the problem is:
when i send the message,
invoke SendMessage,0x1111,LVM_DELETEALLITEMS,0,0
can clear the programe A's listview
but when i send the message,
invoke SendMessage,0x1111,LVM_INSERTITEM,0,addr @lvi
can not chage the contend of listview of program a,
so how can i do?
thanks :?:
try redrew the listview,
could be u added a new node, but the listview didn't get updated.
or mabye what u pass is the wrong values
could be u added a new node, but the listview didn't get updated.
or mabye what u pass is the wrong values
That's because @lvi variable is not located in program's B memory space. You'll have to do ReadProcessMemory/WriteProcessMemory
can you give me some sample, please :idea: