Syxguns, Welcome to the AutoIt forums. Getting bored waiting for our Xmas guests to arrive - this seems to be close to what you are seeking: #include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <StaticConstants.au3>
#include <WINAPI.au3>
; Allow GUI to be closed
HotKeySet("ESC", "_Exit")
; Array to hold action controlIDs
Global $aAction[8]
; Create popup GUI with layers
$hGUI = GUICreate("Test", 400, 100, Default, Default, $WS_POPUP, $WS_EX_LAYERED)
; Make main GUI transparent
GUISetBkColor(0xABCDEF)
_WinAPI_SetLayeredWindowAttributes($hGUI, 0xABCDEF, 250)
; Create ruler - adjust values to fit your requirements
GUICtrlCreateLabel("", 0, 50, 5, 50)
GUICtrlSetBkColor(-1, 0)
For $i = 0 To 11
GUICtrlCreateLabel("", 33 * $i, 60, 2, 30)
GUICtrlSetBkColor(-1, 0)
Next
GUICtrlCreateLabel("", 395, 50, 5, 50)
GUICtrlSetBkColor(-1, 0)
; Create action labels
For $i = 1 To 7
$aAction[$i] = GUICtrlCreateLabel($i, 70 + (30 * $i), 0, 20, 20, BitOr($SS_CENTER, $SS_CENTERIMAGE))
GUICtrlSetBkColor(-1, 0)
GUICtrlSetColor(-1, 0xFFFFFF)
Next
GUISetState()
While 1
$iMsg = GUIGetMsg()
Switch $iMsg
Case $GUI_EVENT_CLOSE
Exit
Case $GUI_EVENT_PRIMARYDOWN
; Drag GUI if mouse button pressed - need to be over ruler
_SendMessage($hGUI, $WM_SYSCOMMAND, 0xF012, 0)
Case Else
For $i = 1 To 7
; Label actioned?
If $iMsg = $aAction[$i] Then
; Announce it
MsgBox($MB_SYSTEMMODAL, "Pressed", "Action " & $i)
; No point in looking further
ExitLoop
EndIf
Next
EndSwitch
WEnd
Func _Exit()
Exit
EndFuncHave a play with it and see if it does what you want. M23