07-08-2018, 12:17 PM
Code in #sub DlgProc2.
Added lines are marked with ;;<----
Macro Macro2
Added lines are marked with ;;<----
Macro Macro2
,case WM_INITDIALOG
,SHDocVw.WebBrowser we3
,we3._getcontrol(id(3 hDlg))
,we3._setevents("sub.we3")
,t_hdlg=hDlg
,DT_SetAutoSizeControls hDlg "3s"
,SetTimer hDlg 1 100 0
,SetTimer hDlg 2 20000 0 ;;<----
,
,case WM_TIMER
,sel wParam
,,case 1
,,int wies=child("" "Internet Explorer_Server" id(3 hDlg)); if(wies=0) ret
,,SetWindowSubclass(wies &sub.WndProc_Subclass 2 0)
,,KillTimer hDlg wParam
,,case 2 ;;<----
,,clo hDlg ;;<----