08-17-2018, 06:37 AM
Web design software can be very convenient layout. Can I execute QM macro commands on the buttons of web pages?
I hope the developer can provide some sample code, thanks in advance.
Macro Macro1
I hope the developer can provide some sample code, thanks in advance.
Macro Macro1
str dd=
;BEGIN DIALOG
;0 "" 0x90C80AC8 0x0 0 0 448 214 "Dialog"
;3 ActiveX 0x54030000 0x0 0 0 448 214 "SHDocVw.WebBrowser {8856F961-340A-11D0-A96B-00C04FD705A2}"
;END DIALOG
;DIALOG EDITOR: "" 0x2040701 "*" "" "" ""
str controls = "3"
str ax3SHD
ax3SHD="$desktop$\index.html"
if(!ShowDialog(dd &sub.DlgProc &controls)) ret
#sub sub1
mes "this is QM mes"
#sub DlgProc
function# hDlg message wParam lParam
sel message
,case WM_INITDIALOG
,case WM_DESTROY
,case WM_COMMAND goto messages2
ret
;messages2
sel wParam
,case IDOK
,case IDCANCEL
ret 1