It doesnt hide the other, it covers the other. Assuming that you have created the second notifier you could tell it to appear above the other so start position = height+((count_how_many_other_notifiers_are_currently_visible)*height) or something like that. Thats what i would do...dont know if its possible so you have to try something out.
How to really embed the bmp's into the .exe file ? Ive set the build action to embedded resource and copy to output dir to copy always. I understand that the images are copied to the output folder when building the solution but the program wont run when i delete them. How to create 1 single .exe file with the images compiled into it ?
Add the bmp to the resource file (make sure that it has a good short name).
- Double click the project properties folder.
- Go to the resources tab.
- In the resources tab, Select "images".
- Drag the file into the panel.
From now, (assuming the project name is MyProject and the image name is image1) you can use it using:
You have to embed the resource files manually. It probable is missing the %skin%.bmp file. Also make sure that the resources files are copied to the build location on every build/debug.
I've succesfully imported your class and created a real nice popup. I want to let you know that this is a very great class!
I also would like to ask if it would be possible to trigger the closing event when another event is triggered?
Example:
Im building a tool to display caller information on incoming calls. Ive got several events, for example the ringing event: means new call. You popup is triggered when this event is fired. Now i want you popup to close when: the user presses the close button (already in your script), when a certain period of time elapsed (already in your script) and when the call is terminated (not in your script).
So upon firing the callTerminated event, close the popup, even if the delay time is not over yet.
Thanks in advance!
“Programmer: An organism that can turn caffeine into code.”
I'll just go ahead and probable ask the most noobish question, but how to include this in my project ? I dragged the TaskbarNotifier.cs file into my solution explorer but how to link this to my application ? I do have 'using CustomUIControls;' but i dont think thats the include for that file .. is it ?
Thanks in advance (im very new in at this language!)
Never mind, i already answered my own question. Works great, good stuff!!!
TaskbarNotifier, a skinnable MSN Messenger-like popup in C# and now in VB.NET too
was wondering if you've seen any articles or have any thoughts on
how to wire this software up so that you can pop the message on another
computer other than your own, basically propagate the message through
an existing network
I hava an application with multiple dll. in the deeper application layer there is a dll containing the NotifierTaskbar class(called deep.dll). a client dll (called client.dll) intercepts an event, prepare the taskbar class to show and call the show method. The problem is that the popup do not appear.
Any idea? There is something i ignore?
p.s. I tried to call the dll containing the taskbarclass from a console project but the problem persists.
Hi,i have a problem which is: "Resource 'skin3.bmp' cannot be found in class 'Form1.Front'", i already put the images on the local folder, even in the bin folder plus i changed the property build action to a "embedded resource". any ideas??? thkx lots
Tried using your code after converting it however VB.Net version doesn't use WorkAreaRectangle.
Any idea how to fix this for VB.Net? Here's the code used for VB.Net:
Case TaskbarStates.Appearing
If Height < Me.bmpBackground.Height Then
SetBounds(Left, Top - Me.iIncrementShow, Width, Height + Me.iIncrementShow)
Else
Me.tmrAnimation.Stop()
Height = Me.bmpBackground.Height
Me.tmrAnimation.Interval = Me.iVisibleEvents
Me.eWindowState = TaskbarStates.Visible
Me.tmrAnimation.Start()
End If