輸入框的使用:ide
1 inputbox = win.inputBox(winform.hwnd); 2 inputbox.setPos(400,300); 3 inputbox.text = "請輸入驗證碼"; 4 inputbox.info.text = "請輸入驗證碼進行下一步"; 5 inputbox.input.text = ""; 6 inputbox.input.setFocus(); 7 cname = inputbox.doModal();