专注于互联网--专注于架构

最新标签
网站地图
文章索引
Rss订阅
在VC++中绑定网页元素的事件(如onclick),通常会使用HTMLElementEvents2事件接口进行。大致如下: void CSomeObject:ConnectElement(IHTMLElement* pElement) { //取得连接点容器 CComQIPtr<IConnectionPointContainer> pCPC=pElement; //查找连接点 CComPtr<IConnectionPoint> pCP; pCPC->FindConnectionPoint( DIID_HTMLE [阅读全文] [PDF]
1 共1条 分1页