Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tray Icon with Popup
#1
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
#2

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
#3
goto new then menu and put ur list in there kinda like this

Code:
Copy      Help
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)
#4
Create function

Code:
Copy      Help
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.
#5
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.


Forum Jump:


Users browsing this thread: 1 Guest(s)