Saturday, 15 February 2014

windows 8 - ToastNotification during Quiet Time -



windows 8 - ToastNotification during Quiet Time -

i have developed desktop application displays toastnotifications while user in metro mode. when clicked bring user desktop mode standard desktop notification presented.

this works fine except when windows in quns_quiet_time. desktop notifications not displayed expected, toastnotfications still displayed. client wishes toastnotifications not display during quiet time.

the code calls shqueryusernotificationstate returns query_user_notification_state enumeration. provided link says following:

note during quiet time, if user in 1 of other blocked modes (quns_not_present, quns_busy, quns_presentation_mode, or quns_running_d3d_full_screen) shqueryusernotificationstate returns value, , not study quns_quiet_time.

this experiencing. phone call shqueryusernotificationstate returning quns_app (a windows store app running.) , not quns_quiet_time.

does know of way determine if quns_quiet_time in effect or way forcefulness toast respect quiet time?

desktop notifications utilize different settings toast notifications. can find toast notification settings here. when user sets notifications 1 hr windows 8 settings | notifications, app not able set toast notification. seek illustration "sending toast notifications desktop" here (either c++ code or c# code).

windows-8

No comments:

Post a Comment