Posts: 82
Threads: 31
Joined: Oct 2007
I am trying to create a Tray Icon with a popup menu coming from it when clicked. I kind of figured out how to do a tray icon, but I don't think it's entirely correct. And I simply cannot figure out how to make a popup menu come from it when clicked.
Can somebody post code for a working Tray Icon w/ Popup? If I see how it works it would help me greatly.
Thanks
Posts: 473
Threads: 33
Joined: Aug 2007
It would probably be easier if you just created a popup menu with a simple trigger such as a double right click or something of the sort rather then having a popup menu appear from the taskbar?
I would suggest maybe even a dialog if you were wanting a tray icon?
Taking on Quick Macros one day at a time
Posts: 160
Threads: 43
Joined: Sep 2007
goto new then menu and put ur list in there kinda like this
list item 1 :watever u want it 2 do :
[list item 2 :watever u want it 2 do :/code]
and in ur tray icon use something like
[code]menu name :mac "menu name" * target.ico
hope this helps im not sure if its exsactly what u ment but should give u some idea(i hope)
Posts: 12,072
Threads: 140
Joined: Dec 2002
Create function
AddTrayIcon "mouse.ico" "tooltip" "Menu16" ""
wait -1
and give it trigger 'QM events -> Startup -> QM file loaded'.
If you need more icons, add more AddTrayIcon in the function, before wait.
Posts: 82
Threads: 31
Joined: Oct 2007
Thank you, I understand now.
I spend alot of time on other Forums, and I just want to say that this is the BEST one of them all...Everytime I post a question, I get an answer within minutes or hours. And they are from people who actually know what they are talking about. So again, Thank you.