Windows Mobile 通知对话框 [英] Windows Mobile notification dialog

查看:57
本文介绍了Windows Mobile 通知对话框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想像系统显示我一样显示消息对话框(即当短信到达或警报时).我曾尝试使用 CeSetUserNotificationEx,但我不知道为什么它总是返回 0 IntPtr 而没有任何反应.您能否向我提供有关如何使用 C# 和 .NET Compact Framework 2.0 执行此操作的简短且有效的示例?

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?

推荐答案

消息对话框显示为 Microsoft.WindowsCE.Forms.Notification 类,但要知道您的通知设置代码有什么问题,我们需要查看实际代码.

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.

这篇关于Windows Mobile 通知对话框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆