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

Get help with using AutoHotkey (v2 or newer) and its commands and hotkeys
HotKeyIt
Posts: 2364
Joined: 29 Sep 2013, 18:35
Contact:

Error in Windows 7 'Could not Create Gui'

19 Aug 2017, 03:27

Following code works fine in Windows 10 but fails in Windows 7:

Code: Select all

gui:=GuiCreate()
gui1:=GuiCreate("+E0x80000 +Parent" gui.hwnd)
Helgef
Posts: 4709
Joined: 17 Jul 2016, 01:02
Contact:

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

19 Aug 2017, 04:11

Hello HotKeyIt :wave:
I think there is a problem in v1 too, see this.
just me
Posts: 9449
Joined: 02 Oct 2013, 08:51
Location: Germany

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

19 Aug 2017, 04:31

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

Return to “Ask for Help (v2)”

Who is online

Users browsing this forum: mikeyww, ntepa, songdg, wjt936826577 and 28 guests