Something like this I imagine:
Code:
#NoEnv
#SingleInstance force
Gui, -caption +0x800000
Gui, Margin, 5, 5
Gui, Add, Pic, vpic gpicClicked icon110, shell32.dll
Gui, 2: +toolwindow +lastfound
Gui, 2: Margin, 0, 0
WinSet, Transparent, 230
Gui, 2:-caption +0x800000
Gui, 2: Add, Pic, icon110, shell32.dll
Gui, Show
return
picClicked:
Gui, 1:+lastfound
WinGetPos, x, y
Gui, 2:Show, % "x" x+5 "y" y+5
Gui, 2:+lastfound
; see http://www.autohotkey.com/forum/viewtopic.php?p=64185#64185
PostMessage, 0xA1, 2
KeyWait, LButton, Up
Gui, 2:hide
return
GuiClose:
exitApp