Jump to content

MouseOver Tray


Recommended Posts

DalkiaKaye

Welcome! :P

Example:

#include <Constants.au3>

Opt("TrayMenuMode", 1)

TraySetClick(16)
TraySetToolTip("IP-Adress: " & @IPAddress1 & @LF & _
               "Localhost: 127.0.0.1")

$ExitItem = TrayCreateItem("Exit")

While 1
    $tMsg = TrayGetMsg()
    Switch $tMsg
        Case $TRAY_EVENT_PRIMARYUP
            MsgBox(64, "Info", "IP-Adress: " & @IPAddress1 & @LF & _
                    "Localhost: 127.0.0.1")
        Case $ExitItem
            Exit
    EndSwitch
WEnd
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...