Jump to content

Application Starts Minimized

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
2 replies to this topic

#1
Lop

Lop

    Speaks fluent binary

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,172 posts
This question may have been asked but I couldn't find it in my searches. I am fixing to make an application and I want it to load into the System Tray. I will be using C# and .NET 2.0 (or 3.0). My question is how do I make my application start in the tray bar?

Sort of like McAfee anti-virus does when it loads during startup. Anyone know how to accomplish this?

#2
Chan

Chan

    Programming Professional

  • Members
  • PipPipPipPipPip
  • 204 posts
You could always just not load the main window and load only the splash screen.

#3
v0id

v0id

    Retired

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 2,936 posts
To be honest, I don't know exactly how C# works.
In the Win32API there's the two functions, ShowWindow and Shell_NotifyIcon, but how you can use them in your application, you've to figure out by yourself, sorry. At least you now have something to go for.

ShowWindow Function ()
Shell_NotifyIcon Function ()