I also want to write a little shell (not as good as Litestep, of course) and I don't know how to show the system tray. I think that the Shell_NotifyIcon Function sends a message to the current shell, but how do I catch that?
Maybe I'm at the wrong adress here. If so, please tell me where I have to go.
By now the LS (and geoshell) devs could write a book about it I think. The tray is a complete and utter nightmare, trust me. We've been working on it for years and still don't get it right. Don't touch it unless you have to. It's insane.
If you want a GPL'ed implementation you can grab our stuff, else I can outline the basic things for you. But be prepared to spend an extended amount of time on this if you want stuff like the DUN icon to work. I cannot relicense our code because large parts were not written by me, you'd have to contact everyone who ever worked on it.
Does it mean that I should let it be?
I didn't mean to discourage you, although my post probably sounds like it. :\ It's sure worth a try, but without a specific question I can't really give you a good answer. "How do I implement a system tray" fills a few pages.
I won't implement the system tray although I understand you. I can't do what groups of many competent people do in YEARS. Thank you, though.