主题:请教关于AttachThreadInput()函数
执行了下面三条语句之后
thread1= GetWindowThreadProcessId(hwnd1, b)
thread2= GetWindowThreadProcessId(hwnd2, j)
return= AttachThreadInput(thread1, thread2, True)
把两个线程建立连接
我用spy++观察hwnd1和hwnd2的消息
可是发现它们并没有共享消息,hwnd1收不到hwnd2能收到的消息
谁能告诉我为什么啊
thread1= GetWindowThreadProcessId(hwnd1, b)
thread2= GetWindowThreadProcessId(hwnd2, j)
return= AttachThreadInput(thread1, thread2, True)
把两个线程建立连接
我用spy++观察hwnd1和hwnd2的消息
可是发现它们并没有共享消息,hwnd1收不到hwnd2能收到的消息
谁能告诉我为什么啊