2.sendmessage模擬鼠標左擊時需要用到鼠標左鍵的鍵碼
Private Const VK_LBUTTON = &H1
SendMessage hwd0, WM_LBUTTONDOWN, VK_LBUTTON, 0
SendMessage hwd0, WM_LBUTTONUP, 0, 0
3.IE的控件(菜單,事實上不是控件)不能獲取句柄,妳可以獲取菜單所在的區域的句柄,比如工具欄,網址欄,收藏夾等等都可以獲取