How to create Notification Window

How to create Notification Window and set level to window.