Windows Mobile notification dialog

心已入冬 提交于 2019-12-11 05:06:01

问题


I want to show message dialog like system shows me (i.e. when SMS has arrived or Alarm). I have tried using CeSetUserNotificationEx, but i have no idea, why it always return 0 IntPtr and nothing happens. Could you provide me short and working sample of how to do this with C# and .NET Compact Framework 2.0?


回答1:


The message dialog is shown with the Microsoft.WindowsCE.Forms.Notification class, but to know what's wrong with your notification setup code, we need to see the actual code.



来源:https://stackoverflow.com/questions/1983966/windows-mobile-notification-dialog

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!