Click here to Skip to main content
11,928,740 members (50,385 online)
Click here to Skip to main content
Add your own
alternative version

Tagged as


109 bookmarked

Notification Window

, 3 Nov 2011 CPOL
Rate this:
Please Sign up or sign in to vote.
A notification window that appears on the lower right part of the screen.


This is a WinForms component that displays a notification window in the lower right part of the screen. Just like the Outlook new mail notification. There are many possibilities to customize the appearance of the notification window:

  • scroll and/or fade window in and out
  • configure the animation speed and the time the window is displayed
  • display a custom icon
  • set title and content text, font, size, and color
  • set all paddings around icon, title and content
  • optionally display a close button
  • optionally display a button which opens a context menu


This control is based on the CodeProject article An Office 2003-like popup notifier by Nicolas Wälti. I fixed a lot of bugs in the original control and added even more properties for customizing the appearance of the notification window.

Using the code

Using the notification window component is very simple. Just add a reference to "NotificationWindow.dll" to your WinForms project. A new component " will appear in the toolbox. Then drag this component to an existing form.

To show the notification, simply call the "Popup" method. However, normally you want to set some properties first to customize the appearance of the notification window.

popupNotifier1.TitleText = "This is the notification title";
popupNotifier1.ContentText = "This is the notification text";

Take a look at the demo project which shows the usage of most properties!


  • 2011-11-02: v1 released.


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Simon B.
Software Developer Sevitec AG
Switzerland Switzerland
No Biography provided

You may also be interested in...

Comments and Discussions

QuestionPopup and MessageBox (modal dialog) Pin
nikda24-Nov-15 20:25
membernikda24-Nov-15 20:25 
Bugpopup is shown in secondary screen Pin
karadogan3-Nov-15 8:03
memberkaradogan3-Nov-15 8:03 
QuestionChange Position of Notification Window Pin
Charles OBrien15-Oct-15 7:43
memberCharles OBrien15-Oct-15 7:43 
QuestionSwitching through more messages at one notification Pin
Member 1145156919-Aug-15 21:34
memberMember 1145156919-Aug-15 21:34 
QuestionThread safe Pin
Zbynek Sulc19-Aug-15 0:17
memberZbynek Sulc19-Aug-15 0:17 
QuestionSuggested Height per line? Pin
Andy Pandy Cartwright2-Apr-15 0:47
memberAndy Pandy Cartwright2-Apr-15 0:47 
QuestionError Pin
Member 1012355424-Feb-15 4:45
memberMember 1012355424-Feb-15 4:45 
AnswerRe: Error Pin
Andy Pandy Cartwright3-Mar-15 23:32
memberAndy Pandy Cartwright3-Mar-15 23:32 
QuestionI'm getting this error when loading Project, Please Help Pin
zeqe5-Feb-15 10:42
memberzeqe5-Feb-15 10:42 
GeneralMy vote of 3 Pin
BillWoodruff11-Dec-14 4:39
professionalBillWoodruff11-Dec-14 4:39 
NewsImprovements PopupNotifierCollection Pin
Member 84062631-Oct-14 23:12
memberMember 84062631-Oct-14 23:12 
GeneralRe: Improvements PopupNotifierCollection Pin
BillWoodruff11-Dec-14 4:38
professionalBillWoodruff11-Dec-14 4:38 
QuestionI try to add PopupNotifierCollection into the project but it's not working it show only item 2 Pin
dev_prog29-Sep-14 15:58
memberdev_prog29-Sep-14 15:58 
AnswerRe: I try to add PopupNotifierCollection into the project but it's not working it show only item 2 Pin
dev_prog1-Oct-14 10:43
memberdev_prog1-Oct-14 10:43 
QuestionSteals focus - but that can be fixed Pin
RenniePet9-Aug-14 18:14
memberRenniePet9-Aug-14 18:14 
GeneralExcellent Post.. Thanks a lot! Pin
mohd_muneer7-Jul-14 0:39
membermohd_muneer7-Jul-14 0:39 
GeneralNicely done Pin
kevininstructor11-Apr-14 4:26
memberkevininstructor11-Apr-14 4:26 
QuestionNotificationWindow.dll on Windows 8.1 Pin
bilgen7-Feb-14 2:37
memberbilgen7-Feb-14 2:37 
AnswerRe: NotificationWindow.dll on Windows 8.1 Pin
dreamgarden2-Apr-14 23:42
memberdreamgarden2-Apr-14 23:42 
GeneralMy vote of 5 Pin
Debopam Pal26-Nov-13 6:48
memberDebopam Pal26-Nov-13 6:48 
QuestionBackground Image Pin
mcheschm16-Oct-13 15:31
membermcheschm16-Oct-13 15:31 
GeneralMy vote of 3 Pin
bloo2k30-Sep-13 18:34
memberbloo2k30-Sep-13 18:34 
GeneralRe: My vote of 3 - it can be fixed Pin
RenniePet9-Aug-14 18:07
memberRenniePet9-Aug-14 18:07 
QuestionHow do you miniize the windows? Pin
Jacques.Williams31-Aug-13 0:49
memberJacques.Williams31-Aug-13 0:49 
QuestionWhat about resize the window for longer messages? Pin
seba02011-Aug-13 22:06
memberseba02011-Aug-13 22:06 
BugProblem in notifier Pin
Ganesh999911-Jun-13 2:10
memberGanesh999911-Jun-13 2:10 
SuggestionMultipe notifications Pin
ginge600018-Apr-13 8:26
memberginge600018-Apr-13 8:26 
GeneralRe: Multipe notifications Pin
dreamgarden2-Apr-14 23:37
memberdreamgarden2-Apr-14 23:37 
GeneralRe: Multipe notifications Pin
Member 103386851-Jul-14 10:59
memberMember 103386851-Jul-14 10:59 
GeneralMy vote of 5 Pin
Member 99673255-Apr-13 5:00
memberMember 99673255-Apr-13 5:00 
GeneralMy vote of 5 Pin
Zephyk25-Mar-13 8:33
memberZephyk25-Mar-13 8:33 
Questionmultiple windows display Pin
Member 412115015-Nov-12 5:59
memberMember 412115015-Nov-12 5:59 
GeneralMy vote of 5 Pin
Edo Tzumer7-Nov-12 19:15
memberEdo Tzumer7-Nov-12 19:15 
QuestionIs this possible in web form? Pin
migsyandoc18-Oct-12 21:23
membermigsyandoc18-Oct-12 21:23 
QuestionWorks great! Question: Pin
Member 938870030-Aug-12 10:07
memberMember 938870030-Aug-12 10:07 
QuestionCan't quite get this to work. Pin
Member 835601925-Aug-12 9:12
memberMember 835601925-Aug-12 9:12 
GeneralThanks Pin
55Cooper5527-May-12 5:11
member55Cooper5527-May-12 5:11 
QuestionExcelent work Pin
boutamen17-May-12 15:56
memberboutamen17-May-12 15:56 
Questionright to left languages Pin
Member 867850629-Apr-12 22:27
memberMember 867850629-Apr-12 22:27 
AnswerRe: right to left languages Pin
Simon B.18-May-12 7:34
memberSimon B.18-May-12 7:34 
QuestionVery nice Pin
Viktor_BVP6-Apr-12 7:57
memberViktor_BVP6-Apr-12 7:57 
QuestionX| Pin
Dimitri7C31-Jan-12 15:02
memberDimitri7C31-Jan-12 15:02 
AnswerRe: Error 1 Assembly generation failed -- Referenced assembly 'PopupNotifier' does not have a strong name Logic Pin
Simon B.18-May-12 7:27
memberSimon B.18-May-12 7:27 
GeneralMy vote of 5 Pin
adrianburns23-Jan-12 3:37
memberadrianburns23-Jan-12 3:37 
QuestionVery nice ! Pin
Wrangly16-Jan-12 11:00
memberWrangly16-Jan-12 11:00 
GeneralMy vote of 5 Pin
Member 30824877-Nov-11 22:25
memberMember 30824877-Nov-11 22:25 
QuestionIt Can't MultiplePop? Pin
bbls19833-Nov-11 22:28
memberbbls19833-Nov-11 22:28 
GeneralRe: It Can't MultiplePop? Pin
Member 35263175-Jan-12 9:25
memberMember 35263175-Jan-12 9:25 
QuestionIt's not quite finished... Pin
Bill SerGio, The Infomercial King3-Nov-11 20:42
memberBill SerGio, The Infomercial King3-Nov-11 20:42 
QuestionNice, but one essential point missing Pin
mav.northwind3-Nov-11 12:37
membermav.northwind3-Nov-11 12:37 

The notification window can be configured nicely, but I really think the Popup() method shouldn't steal focus from the application showing the notification.
Otherwise the whole point of showing a subtle notification is spoiled.

Black holes are the places where God divided by 0...

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.151126.1 | Last Updated 3 Nov 2011
Article Copyright 2011 by Simon B.
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid