Disable Gui Edit Text Line ? Topic is solved

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
HotKeyIt
Posts: 2364
Joined: 29 Sep 2013, 18:35
Contact:

Re: Disable Gui Edit Text Line ?

18 Jan 2021, 05:11

+Disabled?

Code: Select all

Gui,+hwndGuihwnd
Gui,Add,Edit,w320 +Disabled,Test
Gui,Show
WinWaitClose, ahk_id %Guihwnd%
ExitApp
Peaceful
Posts: 28
Joined: 20 Mar 2017, 06:28

Re: Disable Gui Edit Text Line ?

18 Jan 2021, 05:35

That's not it. Only EditBox arrow lines are disabled

If you're curious, download the file and check it out, which is safe software with no virus at all
Also, only the deactivated part is the center of the text
HotKeyIt
Posts: 2364
Joined: 29 Sep 2013, 18:35
Contact:

Re: Disable Gui Edit Text Line ?  Topic is solved

18 Jan 2021, 08:19

That is actually a static (text) control:

Code: Select all

Gui, +hwndMyHwnd
Gui,Add,Button, w0 h0,Dummy
Gui,Add,Edit,r20 w600 +Readonly -VScroll +hwndEditHwnd -E0x200 -WantCtrlA,Test`nMore`nInfo
Gui,Add,Text,x150 y+0 +Disabled,Copyright @ 2018 - 2021 www.autohotkey.com
Gui,Show

Return
GuiClose:
ExitApp
Peaceful
Posts: 28
Joined: 20 Mar 2017, 06:28

Re: Disable Gui Edit Text Line ?

18 Jan 2021, 09:20

HotKeyIt wrote:
18 Jan 2021, 08:19
That is actually a static (text) control:

Code: Select all

Gui, +hwndMyHwnd
Gui,Add,Button, w0 h0,Dummy
Gui,Add,Edit,r20 w600 +Readonly -VScroll +hwndEditHwnd -E0x200 -WantCtrlA,Test`nMore`nInfo
Gui,Add,Text,x150 y+0 +Disabled,Copyright @ 2018 - 2021 www.autohotkey.com
Gui,Show

Return
GuiClose:
ExitApp
The problem has been resolved. Thank you.

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Rohwedder and 348 guests