Old 20th July 2005, 11:25   #1
jsbach
Junior Member
 
Join Date: Feb 2005
Location: Italy
Posts: 42
suggestion to install sys tray icon

i'm looking for a way to install a sys icon for an application using nsis. Not just a notification icon (i can use notifyicon plugin for that) but a real active icon in the sys bar on the bottom right with a few options like 'About', 'Exit', 'Activate'...
The application is a liveupdate agent written with nsis that i schedule with standard task scheduler. it would be nice thing to have icon in sys bar to manage some quick actions, i.e. disable/enable schedule, change interval, see doc help if any and so on.
any hints appreciated.
tks.

ps. of course i already read existing forum posts but it seems to me not really what i whish to achieve.
jsbach is offline   Reply With Quote
Old 20th July 2005, 22:02   #2
ZmAn3
Senior Member
 
Join Date: Oct 2003
Posts: 178
this should be done from your application.
ZmAn3 is offline   Reply With Quote
Old 22nd July 2005, 22:55   #3
saivert
Banned
 
saivert's Avatar
 
Join Date: Jan 2001
Location: Norway
Posts: 927
LOL!!

You can write a small application in Delphi, C, C++ or whatever for this purpose. Using NSIS for such a task just doesn't work. NSIS is singlethreaded and only executes code in the context of the wizard pages. So you can't have it run forever waiting for arbitrary window messages (that you obviously want to hook). Don't spend time trying to make this trayicon application in NSIS. It's just a waste of time.

If you want to use C++, I have created a class wrapper for the Shell_NotifyIcon function Give me a PM and I will give it to you.
saivert is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump