My FAQ,最新最全的IT技术教程
最新100篇 | 推荐100篇 | 专题100篇 | 排行榜 | 搜索 | 在线API文档
首 页 | 程序开发 | 操作系统 | 软件应用 | 图形图象 | 网络应用 | 精文荟萃 | 教育认证 | 硬件维护 | 未整理篇 | 站长教程
ASP JS PHP工程 ASP.NET 网站建设 UML J2EESUN .NET VC VB VFP 网络维护 数据库 DB2 SQL2000 Oracle Mysql
服务器 Win2000 Office C DreamWeaver FireWorks Flash PhotoShop 上网宝典 CorelDraw 协议大全 网络安全 微软认证
硬件维护  CPU  主板  硬盘  内存  显卡  显示器  键盘鼠标  声卡音箱  打印机  机箱电源  BIOS  网卡  C#  Java  Delphi  vs.net2005
  当前位置:> 程序开发 > 编程语言 > Visual C++ > 综合文章
在pocketpc2003中如何回调bubble中的链接?
作者:未知 时间:2005-04-09 12:12 出处:Blog 责编:MyFAQ
              摘要:暂无

  
非常感谢大家给我提供帮助!我现在问题没有完全解决还需要进一步的帮助。我进行嵌入式开发不到一周,还有不少问题,您应该是很有经验的。希望你指导一下。

在PocketPC2003下,在托盘上设计了一个图标,点击图标后会有一个提示bubble,
我现在在bubble中定义了几个这样的连接,<a href=\"cmd:205\">here</a> to go to MSNBC。想通

过点击这些连接执行对应的功能。按照eVC的帮助文件的说明:If the HREF is in the format

CMD:n, as in

Click <a href=\"cmd:205\">here</a> to go to MSNBC
the system sends a WM_COMMAND message instead of a WM_NOFIFY to the window. In this

case, the value n is the ID value of the message, and the ID of the notification is

returned in lParam. For the in-proc server, clicking the standard hyperlink results in

a call to the interface’s OnLinkSelected method while clicking on links with the CMD:n

format results in the OnCommandSelected method being called. The CMD value 0 is

reserved, a value of 1 sends a notification but does not dismiss the bubble, and a

command value of 2 does not dismiss the bubble nor does it result in a WM_COMMAND

message being sent. Applications should generally use CMD values greater than 2.

此时系统会调用IShellNotificationCallback interface的OnCommandSelected函数。但是不知道具

体调用的方式如何,我想在OnCommandSelected中根据用户点击的不同链接执行不同的功能,但是现

在不知道如何实现。我进行PocketPC开发不到一周,希望大侠们能指点一下小弟。在线等待:)

可以给我发邮件ganghust@163.com

关闭本页
 
首页 | 投资与合作 | 服务条款 | 隐私政策 | 收藏本站 | 设为首页 | 新用户注册 | 免责声明 | 使用帮助
Copyright ©2005-2008 myfaq.com.cn All rights reserved. www.myfaq.com.cn 版权所有