$TRAY_EVENT_MOUSEOUT是指鼠标从托盘上移开吗?
#AutoIt3Wrapper_Run_Debug_Mode= y
#include <Constants.au3>
Opt("TrayOnEventMode", 1)
Opt("TrayMenuMode", 1)
TrayCreateItem("退出")
TrayItemSetOnEvent(-1, "ExitEvent")
TraySetOnEvent($TRAY_EVENT_MOUSEOVER, "Showtip")
TraySetOnEvent($TRAY_EVENT_MOUSEOUT, "Hidetip")
TraySetState()
TraySetClick(8)
While 1
Sleep(10)
WEnd
Func Showtip()
TrayTip("显示Tip","消息提示", 2)
EndFunc
Func Hidetip()
TrayTip("", "", 1)
EndFunc
Func ExitEvent()
Exit
EndFunc ;==>ExitEvent
写的这段代码鼠标从托盘移开没有效果啊~
页:
[1]