Click here to Skip to main content
15,884,298 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I'm wondering if anybody here is aware of the type of notification system in windows 8 that puts a big bar across your screen that you have to dismiss... Not the toast notifications that appear and then go away after a few seconds. Is this possible, or is it reserved for system only messages, like low battery? I can't find any samples of such a thing - unless it's named something different than what I could think of.
Posted

I think what you're looking for is this:

public async void ShowAlert()
{
var t = new Windows.UI.Popups.MessageDialog("This is an alert.");
await t.ShowAsync();
}

You can find more details on the MessageDialog class here:

http://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.popups.messagedialog.aspx[^]
 
Share this answer
 
 
Share this answer
 
Comments
agent154 9-Dec-12 17:39pm    
This unfortunately covers everything I already know about the notifications. I was wondering if there was a way to access what appears to be another one - the one similar to the type that shows you that your battery is low... a big bar across the middle of your screen the whole width of your monitor. It dims the background and stays there until you click it away. The toast notification only appears for a brief period and then goes away if you don't click it.

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900