Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tray icon help
#1
Ok i can create the tray icon fine

Function Function6
Code:
Copy      Help
AddTrayIcon "mouse.ico" "Dialog1" "DLG1"
wait -1

But when I close the dialog, i want it to delete the tray icon as well
And i got this from the help files in QM on deleting tray icons but it doesnt work

Function Function3
Trigger !d"Dialog1"     Help - how to add the trigger to the macro
Code:
Copy      Help
int hwnd=val(_command)
if(m_flags&1)
,m_flags~1
,Shell_NotifyIconW(NIM_DELETE &nd)
,int i hi
,m_a.redim
__m_func=0
m_hwnd=0


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)