积极答复者
界面显示问题

问题
答案
-
请参考这个示例:
http://www.nesser.org/blog/archives/56
首先要先查询是否已经有这个程序在运行了,用CreateMutex 来做。如果有了,查询主窗口的handle,显示它。就可以了。
Please remember to mark the replies as answers if they help and unmark them if they provide no help- 已建议为答案 Jiong ShiMVP, Moderator 2011年3月9日 15:07
- 已标记为答案 Jiong ShiMVP, Moderator 2011年3月10日 14:00
全部回复
-
你好,
我理解你的应用场景为,点击按钮以后,将主界面隐藏,在托盘中添加应用程序的图标。当用户点击该图标时,就可以重新load该应用程序界面。
如果是这样的话,可以参考这篇BLog:给Windows mobile应用添加托盘图标。
施炯 -
请参考这个示例:
http://www.nesser.org/blog/archives/56
首先要先查询是否已经有这个程序在运行了,用CreateMutex 来做。如果有了,查询主窗口的handle,显示它。就可以了。
Please remember to mark the replies as answers if they help and unmark them if they provide no help- 已建议为答案 Jiong ShiMVP, Moderator 2011年3月9日 15:07
- 已标记为答案 Jiong ShiMVP, Moderator 2011年3月10日 14:00