04-28-2018, 11:44 PM
Macro Macro1
Please extract the Quiz.zip file to your desktopĀ
The password is: 123
After entering the password, press the Enter key, I should be able to confirm, but in the above code, the carriage return does not work
str dd=
;BEGIN DIALOG
;0 "" 0x90C80AC8 0x0 0 0 548 318 "Dialog"
;3 ActiveX 0x54030000 0x0 0 0 548 320 "SHDocVw.WebBrowser {8856F961-340A-11D0-A96B-00C04FD705A2}"
;END DIALOG
;DIALOG EDITOR: "" 0x2040700 "*" "" "" ""
str controls = "3"
str ax3SHD="$desktop$\Quiz\quiz.html"
if(!ShowDialog(dd &sub.DlgProc &controls)) ret
#sub DlgProc
function# hDlg message wParam lParam
sel message
,case WM_INITDIALOG
,case WM_DESTROY
,case WM_COMMAND goto messages2
,case WM_CLOSE
,DT_Ok(hDlg)
ret
;messages2
sel wParam
,case IDOK
,ret 0
,case IDCANCEL
,ret 0
ret 1
Please extract the Quiz.zip file to your desktopĀ

The password is: 123
After entering the password, press the Enter key, I should be able to confirm, but in the above code, the carriage return does not work