Create a Taskbar Icon in Windows Mobile 6.5?

南笙酒味 提交于 2020-01-16 11:51:31

问题


Hi All,

I have a requirement to build an app for windows mobile 6.5, which will display an icon in the taskbar (at the top to the left of the volume,clock and wireless icons) and respond to an onclick event. I have found references describing how to display icons in the system tray, but that does meet the requirement. Does anyone know how to achieve this ?

Thanks in advance.

Damien.


回答1:


You need to use the notification API. The taskbar is able to hold user notifications.

Here is a compact framework article about that: http://www.christec.co.nz/blog/archives/104

I also used user notification in my PingAlert code: http://www.hjgode.de/wp/2011/03/01/mobile-development-pingalert-watch-your-servers-2/ (look at showNotification function at bottom).



来源:https://stackoverflow.com/questions/16907228/create-a-taskbar-icon-in-windows-mobile-6-5

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