Page 1 of 1

Error in Windows 7 'Could not Create Gui'

Posted: 19 Aug 2017, 03:27
by HotKeyIt
Following code works fine in Windows 10 but fails in Windows 7:

Code: Select all

gui:=GuiCreate()
gui1:=GuiCreate("+E0x80000 +Parent" gui.hwnd)

Re: Error in Windows 7 'Could not Create Gui'

Posted: 19 Aug 2017, 04:11
by Helgef
Hello HotKeyIt :wave:
I think there is a problem in v1 too, see this.

Re: Error in Windows 7 'Could not Create Gui'  Topic is solved

Posted: 19 Aug 2017, 04:31
by just me
Note Beginning with Windows 8, WS_EX_LAYERED can be used with child windows and top-level windows. Previous Windows versions support WS_EX_LAYERED only for top-level windows.

Layered Windows

Re: Error in Windows 7 'Could not Create Gui'

Posted: 19 Aug 2017, 04:45
by HotKeyIt
Many thanks just me.