Hi,
wenn der User mit der Maus über einen Button fährt, soll eine Msg-Box. aufgehen? Wie kann ich das machen?
Hi,
wenn der User mit der Maus über einen Button fährt, soll eine Msg-Box. aufgehen? Wie kann ich das machen?
Hmm, dann kann der User den Butoon doch gar nicht mehr klicken, oder?
Aber da gibt es irgendwo ein Hover-UDF, musst mal suchen
Da: [ gelöst ] GUICtrlSetOnHover ist scriptübergreifend :(
Hallo Gespenst,
vielleicht hilft Dir das Beispiel weiter. Es ist natürlich keine Msgbox.
#include <GuiConstants.au3>
$Gui = GUICreate("Test", 72, 90, -1, -1, -1)
$icon = GUICtrlCreateIcon("shell32.dll", -202, 19, 19, 32, 32, 0)
$button = GUICtrlCreateButton("Test", 10, 10, 52, 70, BitOR($WS_CLIPSIBLINGS, $BS_BOTTOM, $BS_MULTILINE))
GUICtrlSetTip(-1, 'Gruss vom Gespenst...')
GUICtrlSetFont(-1, 8, 700)
GUISetState(@SW_SHOW, $Gui)
While 1
$msg = GUIGetMsg()
Select
Case $msg = $GUI_EVENT_CLOSE
Exit
Case $msg = $button
EndSelect
WEnd
Schönes WE und weiterhin viel Erfolg !