Spy++ can not capture message of this window
-
Under Windows 2000, you type "net send %computername% 12345" in Command Prompt. This will create a Messagebox titled "Messagener service". I can not log the message of this window. Nothing will display. Why? the process of this window is "CSRSS", which is a kernal process I believe, Is that the reason I can see its message? What I want to do is send message to this window to simulate a mouse click on the OK button. SendMessage(hwnd, WM_COMMAND, 1, 0); I tried SendMessage, PostMessage, PostThreadMessage and Send NotifyMessage, none of them work! Please
-
Under Windows 2000, you type "net send %computername% 12345" in Command Prompt. This will create a Messagebox titled "Messagener service". I can not log the message of this window. Nothing will display. Why? the process of this window is "CSRSS", which is a kernal process I believe, Is that the reason I can see its message? What I want to do is send message to this window to simulate a mouse click on the OK button. SendMessage(hwnd, WM_COMMAND, 1, 0); I tried SendMessage, PostMessage, PostThreadMessage and Send NotifyMessage, none of them work! Please
That is curious. However, a quick test to send
WM_GETFONT
shows that the window is responding. What happens if you send a mouse click to the window's button? Or you could also try to send a WM_SETFONT to the window to see if it does anything. HPS HwndSpy - GUI developer's aid to visually locate and inspect windows. For the month of August only, use coupon code CP-81239 for 30% off.