Jump to content

Trayitem with Icon


Recommended Posts

This is my script:

Opt("TrayIconDebug", 0)
Opt("TrayMenuMode", 1)
Opt("TrayOnEventMode", 1)
#include <GUIConstants.au3>
#include "ModernMenu.au3"
$TrayAbout      = _TrayCreateItem(0, "About")
_TrayItemSetIcon(-1, "shell32.dll", 23)
TrayCreateItem("Beenden")
TrayItemSetOnEvent(-1, "_close")
Func _close()
    Exit
EndFunc   ;==>_close
While 1 
    sleep(500)
WEnd
My UDFs:- _RegEnumKey
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...