Hallo,
ich kann nicht auf mein icon klicken (transparent)
Weiß jemand warum das nicht geht?
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
$Form2 = GUICreate("Form1", 405, 296, 302, 218)
$Icon1 = GUICtrlCreateIcon("", -1, 24, 24, 361, 245)
GUISetState(@SW_SHOW)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Icon1
Msgbox(4,"Klick","Das Icon wurde angeklickt")
EndSwitch
WEnd
...es sollte eine leere Klickfläche sein.
Mit icon-Inhalt geht das.
Kann man das auch ohne Inhalt so lösen?
Grüße
Ilse