问题
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