08-24-2015, 05:45 AM
Hello.
Internet Explorer F11 hotkey want to implement features such as full screen on SHDocVw.IWebBrowser2.
But "Full_Screen" button the source does not work.
Please. What is wrong?
Function Fullscreen_mode_btn
Internet Explorer F11 hotkey want to implement features such as full screen on SHDocVw.IWebBrowser2.
But "Full_Screen" button the source does not work.
Please. What is wrong?
Function Fullscreen_mode_btn
\Dialog_Editor
function# hDlg message wParam lParam
if(hDlg) goto messages
str controls = "3"
str ax3SHD.getfile("$Cache$\preview.html")
int x(88) y(1029)
if(!ShowDialog("Fullscreen_mode_btn" &Fullscreen_mode_btn &controls 0 0 0 0 x y)) ret
;BEGIN DIALOG
;0 "" 0x90CC0AC8 0x0 0 0 444 446 "보기"
;3 ActiveX 0x54030000 0x0 0 0 444 428 "SHDocVw.WebBrowser"
;6 Button 0x54032000 0x0 280 432 48 14 "Full_Screen"
;2 Button 0x54030000 0x0 396 432 48 14 "Close"
;END DIALOG
;DIALOG EDITOR: "" 0x2040202 "" "" "" ""
ret
;messages
sel message
,case WM_INITDIALOG
,SHDocVw.IWebBrowser2 we3
,we3._getcontrol(id(3 hDlg))
,we3.Silent=TRUE
,we3.Refresh
,;subclass web browser
,int hctrl=child("" "Internet Explorer_Server" id(3 hDlg)); if(!hctrl) out "Warning: Web browser control not initialized. Assign an url or ''about:blank'' to the control variable before ShowDialog."; ret
,case WM_DESTROY
,case WM_COMMAND goto messages2
,case WM_SETCURSOR
ret
;messages2
sel wParam
,case [6]
,err-
,we3._getcontrol(id(3 hDlg))
,sel wParam
,,case 6
,,we3.Visible=TRUE
,,we3.FullScreen=TRUE
,err+
,case IDOK
,case IDCANCEL
ret 1