XWidgetSoft Forum
https://www.bbs.xwidget.com/

windows 8 notification
https://www.bbs.xwidget.com/viewtopic.php?f=8&t=3382
Page 1 of 1

Author:  Creator [ July 19th, 2013, 12:29 am ]
Post subject:  windows 8 notification

how to make a notification in
the upper right corner like
windows 8, with the same or a
similar animation?

Author:  Creator [ August 10th, 2013, 5:59 am ]
Post subject:  Re: windows 8 notification

up

Author:  meme [ August 10th, 2013, 1:23 pm ]
Post subject:  Re: windows 8 notification

This maybe helpful, javascript sample at http://code.msdn.microsoft.com/windowsapps/Toast-notifications-sample-52eeba29
Toast notifications sample, this sample shows how to use toast notifications, which are notifications sent from an app to the user that appear as pop-up notifications in the upper right corner of the screen. A user can select the toast (touch or click) to launch the associated ...

Author:  meme [ August 10th, 2013, 11:11 pm ]
Post subject:  Re: windows 8 notification

Or the "Notification" could be a separate widget that you can show and hide from the main widget with messages.
I do something similar with a pop up calender, parts of the code are below.. maybe you could send text with a message.

// start the widget remotely from the main widget
var winX = (ScreenWidth - 480) / 2; //size of the widget
var winY = (ScreenHeight - 720) / 2; //size of the widget
startupWidget("YearCalendar",winX,winY); // position the widget

// send messages to the remote widget
msg("close","YearCalendar")
msg("hide","YearCalendar")
msg("show","YearCalendar")

//Message code in the remote widget
function widgetOnMsg(MsgString)
{
//msg("show","YearCalendar") // message sent from button click on another widget

if(MsgString=="close") // remote close
{
close();
}
if(MsgString=="hide") // remote hide
{
widget.visible=false;
}
if(MsgString=="show") // remote show
{
yearOnClick()
widget.visible=true;
}
}

Author:  Creator [ August 12th, 2013, 1:40 am ]
Post subject:  Re: windows 8 notification

I do not understand how to
use it. realties who will help?

Author:  bisto [ January 4th, 2014, 5:52 pm ]
Post subject:  Re: windows 8 notification

up+

Author:  meme [ February 22nd, 2014, 1:28 pm ]
Post subject:  Re: windows 8 notification

Can any of the experts assist :?: Is this useful to allow code in xwidgets to send toast meassages.

This sample shows you how to use toast notifications, which are notifications sent from an app to the user. Toast appears as a pop-up notification in the upper right corner of the screen.

Toast notifications sample http://code.msdn.microsoft.com/windowsapps/toast-notifications-sample-52eeba29

Author:  digigamer [ May 5th, 2014, 12:36 am ]
Post subject:  Re: windows 8 notification

Wsh has no support for WinJS :(

Page 1 of 1 All times are UTC - 8 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/