Hi, I want to use SetWindowsHookEx() to hook a specific window. I have a handle to that window but how do I get a thread id for that window rather than having to have a system wide hook?
Hi, I want to use SetWindowsHookEx() to hook a specific window. I have a handle to that window but how do I get a thread id for that window rather than having to have a system wide hook?
GetWindowThreadProcessId().
[email protected]
Microsoft Visual Studio .NET 2003 Enterprise Architect
Windows XP Pro
Code Tags
Programming FAQ
Tutorials