Browse - Programming Tips - How can I get the thread id of a given HWND ?
Date: 2008jan19 Platform: win32 OS: Windows Language: C/C++ Keywords: threadID Q. How can I get the thread id of a given HWND ? A.DWORD dwTheirThreadId = GetWindowThreadProcessId(hwnd, NULL);