2
是否有可能通過使用SendMessage(whdl,BM_CLICK,intptr)發送文件或調用按鈕。零,intrptr.zero,intptr.zero)。我通過Skype窗口獲取句柄,但是我可以;通過按鈕處理句柄並使用sendmessage單擊它。爲什麼>有人可以幫助我。 thxc#user32 dll - 處理程序和sendmessage(whdl,BM_CLICK,intptr.zero,intptr.zero)
您需要調用EnumChildWindows()來獲取按鈕的句柄。很難得到正確的,考慮像AutoIt的東西。 – 2011-04-21 12:13:27
[點擊另一個應用程序中的按鈕]可能的重複(http://stackoverflow.com/questions/3009557/click-a-button-in-another-application) – 2011-04-21 12:14:08
thx爲答案。 – daniel 2011-04-21 14:17:36