ActiveX GUI + HTML5

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
gallaxhar
Posts: 143
Joined: 03 Sep 2014, 06:35

ActiveX GUI + HTML5

24 Jan 2016, 13:25

I'm trying to make the following HTML5 demo work in an AHK ActiveX Gui window:
Link to demo: http://html5demos.com/drag

The image on the html5 demos page says it should be IE compatible
Image


Code: Select all

Gui Add, ActiveX, vdoc x0 y0 w800 h600, about:<!DOCTYPE html><meta http-equiv="X-UA-Compatible" content="IE=edge"> ; the "IE=edge" should force Shell.Explorer to use the latest IE renderer. I have internet explorer 11 and Microsoft Edge installed.
;doc.silent := true ; Surpress JS Error boxes, commented out for debugging
doc.Navigate("http://html5demos.com/drag")
Gui, Show, w800 h600, test
Return

GuiClose:
ExitApp
The error I get (js) is:
Image
lexikos
Posts: 9643
Joined: 30 Sep 2013, 04:07
Contact:

Re: ActiveX GUI + HTML5

25 Jan 2016, 03:38

the "IE=edge" should force Shell.Explorer to use the latest IE renderer.
It does. And then you load a different document, and it uses whatever renderer that document appears to need.

If you are displaying HTML which is not under your control, you will need to use the registry fix. Search "FixIE" for details.

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Bing [Bot] and 178 guests