c++builder PostMessage(hwnd,WM_USER+161,0 ,0);给pyqt窗口 pyqt:def nativeEventFilter(self, eventType, message): if msg.message==win32con.WM_USER+161: print('进入')