Good evening,
I wrote a short program intended to help me determine Control IDs, but it crashes when I change the window focus to anything else.
#include <GUIConstants.au3>
#include <Array.au3>
Opt("GUIOnEventMode", 1)
GUICreate("ControlID Decoder",300,115)
GUISetFont(12)
GUISetOnEvent($GUI_EVENT_CLOSE, "Decoder_Events")
GUISetOnEvent($GUI_EVENT_MINIMIZE, "Decoder_Events")
GUISetOnEvent($GUI_EVENT_RESTORE, "Decoder_Even
Nice job again @pixelsearch
I came up with this. What do you think ?
#include <Array.au3>
#include <GDIPlus.au3>
#include <WinAPISysWin.au3>
#include <WindowsConstants.au3>
Opt('MustDeclareVars', 1)
HotKeySet("{ESC}", "_Quit") ; <===================
Global $hGraphic, $hPen
_Main()
Func _Main()
Local $hGUI = GUICreate("GDI+", @DesktopWidth, @DesktopHeight, 0, 0, $WS_POPUP, BitOR($WS_EX