Sign in to follow this  
Followers 0
g52

TrayCreateItem and set icon or image

3 posts in this topic

#1 ·  Posted

Hi,

Will anyone advise how to set the icon or image for each item?

Local $idDisplay  = TrayCreateItem("Display")
Local $idPrinter   = TrayCreateItem("Printer")

 

Thank you very much for your help

Share this post


Link to post
Share on other sites



#2 ·  Posted

I tried, but it does not work

GuiCtrlSetImage ( $ idDisplay , "shell32.dll" , 4 )
TrayItemSetState ( $ idDisplay , "shell32.dll" , 4 )

 

Share this post


Link to post
Share on other sites

#3 ·  Posted

Moved to the appropriate forum, as the DEV forum clearly states

Quote

Do not create AutoIt-related topics here, use the AutoIt General Help and Support

 


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
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
Sign in to follow this  
Followers 0