My first post
input field (EDIT) don't work as expected. There is bug if using "WinSet, TransColor, CC0000"
running code blow i have extraced from complex project but it took some time to extract hope you can use it.
1= area you can click and start input text in to
2 = area where you CANT
if you have a longer fiend above you can then input(click with mouse) in to the field below
Sample code with bug:
Code: Select all
#SingleInstance Force
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
CoordMode, Pixel, Relative
Gosub, CreateUI
MailLoop:
Goto, MailLoop
CreateUI:
CreateUIX := 100
CreateUIY := 100
Gui, Color, CC0000
Gui, Font, S7, Verdana
Gui, Add, DropDownList, w100 x+1 BackgroundTrans ,
Gui, Add, Edit, w40 y+1 c000000 ,
Gui, Add, Edit, w400 y+1 c000000 ,
Gui, Add, Edit, w40 y+1 c000000 ,
Gui, Add, Edit, w400 y+1 c000000 ,
Gui, Font, FF00000
Gui, Font, S7, Verdana
Gui +LastFound +AlwaysOnTop +ToolWindow
WinSet, TransColor, CC0000
Gui, Show, x%CreateUIX% y%CreateUIY%
Return
Code: Select all
; WinSet, TransColor, CC0000