Code: Select all
#SingleInstance force
CustomColor = 203864
Gui 1: New
Gui +LastFound +AlwaysOnTop -Caption +E0x20 ; +ToolWindow avoids a taskbar button and an alt-tab menu item.
Gui, 1: Color, %CustomColor%
Gui, 1: Font, s18
dwidth := "520"
Gui, 1: Add, Text, vMyText gmove1 cWhite BackgroundTrans, someverycoolstuffrighthere
Gui, 1: +HwndMyGuiHwnd
Gui, 1: Show, x%dwidth% y50 NoActivate
gui, 2: new
Gui +LastFound +AlwaysOnTop -Caption +E0x20 +ToolWindow
Gui, 2: Add, Text, H50 R2 vMyText2 cRed, someothernolesscoolstuffhere
Gui, 2: +LastFound
DllCall("SetParent", "uint", WinExist(), "uint", %MyGuiHwnd%) ; success = handle to previous parent, failure =null
Gui, 2: Show, x700 y80 NoActivate
return
move1:
PostMessage, 0xA1, 2,,, A
return