blogforumabout

Tutorial: How to work with the System Tray from .Net

After I released the System Tray tile for the Sidebar, I’ve had quite a lot of PMs and emails regarding interacting with the tray from .Net. So I’ve written this short tutorial for you all to go through to help with any difficulties you might have been having. It’s written with C# source code.

How to work with the System Tray from .Net (PDF)

Tags: , , ,

11 Responses to “Tutorial: How to work with the System Tray from .Net”

  1. Andrew Powell Says:

    For anyone who has dabbled in the alternative shell world, with a this should also allow you to create an application which acts as the system tray itself, without explorer running.

  2. Edootjuh Says:

    Thanks! Great tutorial, but are you still planning on telling us how to resize the taskbar and change its layout? :)

  3. Ttierro Says:

    YAY! Thanks a lot but eh… I VB.Net… not C#

    Ah heck, I’ll translate, I can.

  4. Tierro Says:

    Ah, I’ve done similar things before when controlling window states… Does anyone mind if I translate this tut to VB?

  5. Edootjuh Says:

    http://labs.developerfusion.co.uk/convert/csharp-to-vb.aspx

  6. Bryant Says:

    Tierro, go for it man. I’ll add it to the front page once you’re done.

  7. huh Says:

    Why not use Shell_NotifyIcon()

  8. huh Says:

    nice job but win32 already has a function that does almost all the dirty work for you..

    http://www.webtropy.com/articles/art9-1.asp?f=Shell_NotifyIcon

  9. Karl Says:

    Shell_NotifyIcon doesn’t do anything this tutorial is about. It doesn’t give you information about current SysTray icons.

  10. Patrick G. Says:

    Wow thanks for this Karl. i asked you a few times and tought you have forgot. 1000 times Thank you for this tutorial..

    I have already translated this Tutorial to VB so if anyoned needs it message me.

    “patrickgs” on aeroxp
    patrickgs21@googlemail.com

  11. geeq Says:

    Hello,

    Patrick G. or anyone could you pls send me or post the vb.net code of this? Since i’m getting error converting it.

    Thanks;

Leave a Reply