Hi JP, On 5/20/06, João Paulo Fernandes Farias <[EMAIL PROTECTED]> wrote: > Hi! > > I'll rewrite my previous question... > > How do I get data from another process using win32gui.SendMessage() > when it needs some pointers to fill in the data? > > I know it is more likely possible cause winspector can show the text > from some messages like LVM_SETITEMTEXTA where the user uses a pointer > to a structure to pass in the text to set on a SysListView32 item.
You mentioned that ctypes might be OK? If you download pywinauto then you should be able to cut and paste the code you need :-) Look into pywinauto\controls\common_controls.py (if you need ListView as your code snipped seems to suggest). I have wrapped the equivalent C code that you showed previously. Hope that helps, Mark > > How do I do that with win32 extensions? > > -- > JP > _______________________________________________ > Python-win32 mailing list > Python-win32@python.org > http://mail.python.org/mailman/listinfo/python-win32 > _______________________________________________ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32