Dock app in taskbar

zeroGrav

Newcomer
Joined
Jan 1, 2003
Messages
8
Hello THere

I would like to program my Form so it docks near MSN messenger (next to the clock, not where apps normally dock when you hit minimize).

How do I do this?

Behavior is similar to Task Manager's
 
This part is called the system tray on the taskbar. The NotifyIcon
component allows you to show an icon in the system tray. To
have your window "minimize" to the system tray, when it is
minimized you set its ShowInTaskbar property to False and the
NotifyIcon's Visible property to true.

You can create a ContextMenu that opens the form, and then set it to
the NotifyIcon's ContextMenu property. When the user right-clicks
the icon, the menu will pop up.
 
THanks, that works perfectly but how do I restore the application from the system tray?

I tried all this

Me.Activate()
Me.AllowTransparency = True
Me.Show()
Me.Visible = True
 
I read the FAQ at the top of the postings and it had my question.. Sorry for the noise on the board. Great FAQ!
 
Back
Top