2

I am working on a program that monitors several things such as incomming messages, faxes, calendar items and alerts etc.

This program is normaly in the systray.

What i want to accomplish is to have multiple tooltips or forms pop up, one for every notification. When there are multiple messages to show, i want to be able to have them stack on top of each other neatly. Or maybe allow the user to have a couple of diffrent view types.

Can anyone here help me with showing multiple tooltips at once and how i can arrange them on the screen?

It can also be a form or something else, key is having multiple events at once and beeing able to arrange them.

Thansk in advance, Mike

S2S2
  • 8,322
  • 5
  • 37
  • 65
  • 1
    take a look here: http://www.vbforums.com/showthread.php?t=320639 Might guide you in the right direction – jao Nov 10 '11 at 16:13
  • 1
    What are you using? ASP.NET, WPF, Winforms...? Pls tag the question. – Ray Nov 10 '11 at 16:13
  • You're not going to get an answer until you specify WPF or Winforms (noticed you said it's in the systray, so no ASP.NET). I'm voting to close because in it's current form it can't be answered. – Ray Nov 10 '11 at 18:36
  • Currecntly i am using Winforms sorry for not beeing specific enough. – Mike van Heugten Nov 11 '11 at 07:52

3 Answers3

1

The answer in below SO question might help you and give the direction, but you would still need to customize that code to hook up for event notifications: Creating a Popup Balloon like Windows Messenger or AVG

Additional information on ballon tip and its issues: http://www.csharp411.com/notifyiconshowballoontip-issues/

MSDN link: http://msdn.microsoft.com/en-us/library/ms160065.aspx

Community
  • 1
  • 1
S2S2
  • 8,322
  • 5
  • 37
  • 65
  • I have looked at all suggestions from everyone. Most are very nice and cool looking. Just none of them seems to support more then 1 popup at the same time. only Growl does it, but you cannot implement that. :( – Mike van Heugten Nov 11 '11 at 15:33
0

If you want to place them into an object, you'll probably want to use either Queue<T> or Stack<T> to hold them. If you need to use them with threads ConcurrentQueue<T> or ConcurrentStack<T>. You'll want to make them Observable if dealing with bindings or use ObservableCollection<T> if you don't care about ordering and FIFO/FILO.

Other than that you'll need to give us some more information about what you are currently using.

For WPF: http://www.hardcodet.net/projects/wpf-notifyicon

John
  • 6,503
  • 3
  • 37
  • 58
  • 1
    This wpf-notifyicon looks very nice! Is it able to show more then one tooltip at once? That's the issue i am realy trying to figure out. Like for example if you have msn and someone logs in, it will pop up a tooltip saying xxxx logged in. but when 2 people log in at the same time, the second tooltip will pop up right above the first one, same for the third etc. that functionality is what i am trying to get. – Mike van Heugten Nov 11 '11 at 07:56
  • You should be able to modify the popup to look like that (have one popup window with multiple internal "popups"), or stack itself. – John Nov 11 '11 at 22:23
  • I eventualy solved it another way. But i did wanted to select this as answer since it was the most accurate. Thx all for your replies! – Mike van Heugten Nov 23 '11 at 11:30
0

I would look into something called Growl:

You might want to check this page for a quick visual overview of what it offers:

rtpHarry
  • 13,019
  • 4
  • 43
  • 64
  • Growl looks realy nice, and does do everything i want. But i need this functionality inside my own application. Growl (as far as i can see) will only let you sent alerts to their application. – Mike van Heugten Nov 11 '11 at 09:59