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

Greg Ewing greg.ewing at canterbury.ac.nz
Wed Feb 2 00:22:25 CET 2011


Reckoner wrote:

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

Use the win32gui.GetParent() function?

-- 
Greg


More information about the python-win32 mailing list