Contents
|
Python for Win32 Extensions Help
>
Win32 API
>
Modules
>
win32gui
>
WindowFromDC
win32gui
.WindowFromDC
PyHANDLE
=
WindowFromDC(
hDC
)
Finds the window associated with a device context
Parameters
hDC
:
PyHANDLE
Handle to a device context
Return Value
Returns a handle to the window, or 0 if the DC is not associated with a window