Retrieves a handle to the window associated with the specified display device context (DC)
#include <WinAPIGdi.au3>
_WinAPI_WindowFromDC ( $hDC )
$hDC | Handle to the device context from which a handle to the associated window is to be retrieved. |
Success: | Handle to the window associated with the specified DC. If no window is associated with the specified DC, the return value is 0. |
Failure: | 0. |
Search WindowFromDC in MSDN Library.