04-27-2018, 12:48 AM
this is about as close as i can get ya to Fullscreen similar to ie fullscreen in a dialog
again this is not complete fullscreen as the file does not have full screen programmed in it seems the dialog and the control are as large as i can make them
f11 toggles full screen on and off
Function Dialog_Quiz
again this is not complete fullscreen as the file does not have full screen programmed in it seems the dialog and the control are as large as i can make them
f11 toggles full screen on and off
Function Dialog_Quiz
typelib ShockwaveFlashObjects {D27CDB6B-AE6D-11CF-96B8-444553540000} 1.0
str dd=
;BEGIN DIALOG
;0 "" 0x90C80AC8 0x0 0 0 448 246 "Quiz" "0 10"
;3 ActiveX 0x54030000 0x0 0 0 450 246 "ShockwaveFlashObjects.ShockwaveFlash {D27CDB6E-AE6D-11CF-96B8-444553540000}" ".2 Press F11 to toggle fullscreen mode"
;END DIALOG
;DIALOG EDITOR: "" 0x2040700 "*" "" "" ""
if(!ShowDialog(dd &sub.DlgProc 0)) ret
#sub DlgProc
function# hDlg message wParam lParam
__RegisterHotKey- t_hk1
sel message
,case WM_INITDIALOG
,ShockwaveFlashObjects.ShockwaveFlash-- sh3
,sh3._getcontrol(id(3 hDlg))
,sh3.LoadMovie(0 "http://fs.focusky.com.cn/jhgh/mcnh/files/extfiles/ext_2018414091740557.swf")
,DT_SetAutoSizeControls(hDlg "1m 2m 3s 4m")
,t_hk1.Register(hDlg 1 0 VK_F11) ;;F11
,case WM_HOTKEY
,sel wParam
,,case 1
,,if max(hDlg)
,,,SetWinStyle hDlg WS_CAPTION 1
,,,SetWinStyle hDlg WS_BORDER 1
,,,res hDlg
,,else
,,,SetWinStyle hDlg WS_CAPTION 2
,,,SetWinStyle hDlg WS_BORDER 2
,,,max hDlg
,case WM_DESTROY
,case WM_COMMAND goto messages2
ret
;messages2
sel wParam
,case IDOK
,case IDCANCEL
ret 1