Thread Rating:
  • 1 Vote(s) - 2 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to set control text
#3
Thanks for your help

I inserted the browser control. I want to make the browser display full screen. Pressing F11 is invalid. I added a button. How do I write the code and make the browser control full screen? How to define the hot key F11? Thanks again Smile

str dd=
 BEGIN DIALOG
 0 "" 0x90C80AC8 0x0 0 0 340 192 "Dialog"
 3 Button 0x54032000 0x0 128 164 48 14 "google"
 4 ActiveX 0x54030000 0x0 8 8 324 150 "SHDocVw.WebBrowser {8856F961-340A-11D0-A96B-00C04FD705A2}"
 5 Button 0x54032000 0x0 52 164 48 14 "fullscreen"
 1 Button 0x54030001 0x4 216 164 48 14 "OK"
 2 Button 0x54030000 0x4 276 164 48 14 "Cancel"
 END DIALOG
 DIALOG EDITOR: "" 0x2040700 "*" "" "" ""

str controls = "4"
str ax4SHD
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
ret
 messages2
sel wParam
case IDOK
case IDCANCEL
case 3
DT_SetControl(hDlg 4 "http://www.google.com");;fullscreen;;fullscreen
case 5 ;;fullscreen
??????????????
ret 1


Messages In This Thread
How to set control text - by win - 04-04-2018, 11:02 AM
RE: How to set control text - by Gintaras - 04-04-2018, 12:44 PM
RE: How to set control text - by win - 04-04-2018, 01:10 PM
RE: How to set control text - by Kevin - 04-04-2018, 09:09 PM
RE: How to set control text - by win - 04-18-2018, 11:55 PM
RE: How to set control text - by Gintaras - 04-19-2018, 04:51 AM
RE: How to set control text - by win - 04-19-2018, 06:38 AM
RE: How to set control text - by win - 04-20-2018, 02:02 AM
RE: How to set control text - by Kevin - 04-20-2018, 03:41 AM
RE: How to set control text - by win - 04-20-2018, 03:52 AM
RE: How to set control text - by Kevin - 04-20-2018, 04:12 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)