Has there been an update to this for Windows 7? The background that was transparent in Windows XP is now black in Windows 7 and the image on the upper-left-hand corner is "smeared" up and down as opposed to re-drawing as it moves. Any updates would be very much appreciated.
Thanks so much for this wonderful control... working well so far. But I'm not able to work-out a solution for changing Font or at least the Font size for Title and Content. I also wished to have a property to disable Auto-Close. I managed to implement that, but not able to change the Font parameter. Please help.
Great control, I tried the VB code first and it complains about a missing resx (not sure if upgrading to VS2010 caused this I dont have VS2003 to try).
I just translated the C# version which works a treat. Thanks again
I am facing the same problem like u. But i solve the problem. so now i want to share with us. Note: Create a folder in your Project and name it Resource and add the all images in the Folder.
First of Right click to project and go to resource tab where u can add the Images in the ADD Resource Tab.
Now Go to coding part that is form1.cs and just modify it. Please check very carefully where i modified
taskbarNotifier1 = new TaskbarNotifier();
taskbarNotifier1.SetBackgroundBitmap(TaskbarNotifierDemo.Properties.Resources.skin, Color.FromArgb(255, 0, 255));
taskbarNotifier1.SetCloseBitmap(TaskbarNotifierDemo.Properties.Resources.close2, Color.FromArgb(255, 0, 255), new Point(127, 8));
taskbarNotifier2 = new TaskbarNotifier();
taskbarNotifier2.SetBackgroundBitmap(TaskbarNotifierDemo.Properties.Resources.skin2, Color.FromArgb(255, 0, 255));
taskbarNotifier2.SetCloseBitmap( TaskbarNotifierDemo.Properties.Resources.close2, Color.FromArgb(255, 0, 255), new Point(300, 74));
taskbarNotifier3 = new TaskbarNotifier();
taskbarNotifier3.SetBackgroundBitmap( TaskbarNotifierDemo.Properties.Resources.skin3, Color.FromArgb(255, 0, 255));
taskbarNotifier3.SetCloseBitmap( TaskbarNotifierDemo.Properties.Resources.close, Color.FromArgb(255, 0, 255), new Point(280, 57));
and rest of the codes are same. Finally save it and compile it and execute it. It will work fine.
I am using this code in my project. I have a text Area in my Project but when popup raise, it steal the focus from text area and i am unable to type in text area. is there any solution for that.
At the end of the function :protected override void OnPaintBackground(PaintEventArgs pea) {...}
It is called many times during popup appearing and dissapearing, initiating a new bitmap image every time.
It use a lot of memory before the GC is called by the system.
You are wrong in saying that the grfx object should be disposed. The bitmap and "offScreenGraphics" object yes definitely.
Graphics grfx = e.Graphics;
The e.Graphics object is handled for you and you could cause some issues by disposing this object that was passed through the PaintEventArgs parameter.
Hello i m trying to understand the way you do it.How you do it for (vb.net)
If anyone know the way tall me because this is very promising work
I am referring the close button.
Have been using this code for some time now, for a notefication for the workers. To show them when ever a packet are ready. Realy simple.
Now the have a new update for the main software and my popup have to be moved to the left side of the screen insted.
Where do I change the code so the popup will show on the leftside of the screen ??