> Hello,  I am trying to read the contents of a CListCtrl.  The 
> control is in a window owned by a non-python process.

I answered my own question...

The problem was indeed that the PyCListCtrl implementation assumes the
LV_ITEM memory is in the same process as the list control.  If you allocate
some virtual memory in the process that owns the control, then use that
memory for your LV_ITEM, and call SendMessage yourself, you can make it
work.  I followed the same approach explained here:
  http://www.codeproject.com/threads/int64_memsteal.asp 

-Michael M



                
__________________________________ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new Resources site
http://smallbusiness.yahoo.com/resources/
_______________________________________________
Python-win32 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to