pb窗口中用ENTER鍵切換焦點ide
1.定義外部函數函數
Subroutine keybd_event(int bVk,int bScan,ulong dwFlags,ulong dwExtraInfo) LIBRARY "user32.dll"事件
2.在窗口的Key事件中寫下以下代碼it
IF key = KeyEnter! THENevent
keybd_event(9,0,0,0)class
keybd_event(9,0,2,0)word
ENd IFdi