[python-win32] Find containing window given a control handle

Reckoner reckoner at gmail.com
Tue Feb 1 23:55:06 CET 2011


Hi,

Given the handle of a text field or button embedded in some window,
how can I find the parent window that contains the handle?

Right now, I'm exhaustively going through every visible window and
matching every child handle. Perhaps there is a better way?

Thanks!


More information about the python-win32 mailing list