How to remove "selection mark" from GUI controls? Topic is solved

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
fabricio234
Posts: 122
Joined: 06 Mar 2020, 21:48

How to remove "selection mark" from GUI controls?

Post by fabricio234 » 17 May 2021, 04:31

There's any flag to remove this selection mark that appears when you click something?
image.png
image.png (1.68 KiB) Viewed 175 times
Spoiler
User avatar
boiler
Posts: 16926
Joined: 21 Dec 2014, 02:44

Re: How to remove "selection mark" from GUI controls?  Topic is solved

Post by boiler » 17 May 2021, 05:16

You can keep focus on another control that's not shown:

Code: Select all

Gui, Add, Button, x50 w100, B1
Gui, Add, Button, x-300 yp vDummy
Gui, Show, w200, My GUI
return

ButtonB1:
	GuiControl, Focus, Dummy
	MsgBox, Button pressed
return

GuiClose:
ExitApp
Post Reply

Return to “Ask for Help (v1)”