Search code examples
pywin32

How to get PyCListView object from an existing listview handle?


The listview is in another process, I get the listview handle by FindWindow and enumerate child window.

I want to get PyClistView object because it has convenient functions like 'GetColumn', 'GetItem'.


Solution

  • Then probably you need GUI automation tool like pywinauto. Working with ListView controls in another process is already simplified here. And it's Python as well.