佚名通过本文主要向大家介绍了求教交女朋友的经验,不会用马克笔求教,求教空调怎么检漏,虚心求教,求教等相关知识,希望对您有所帮助,也希望大家支持linkedu.com www.linkedu.com
问题: 高分求教,轻型ATL控件以IE作容器时为什么不能调用控件的方法?
描述:
解决方案1:
描述:
我写了一个复合轻型ATL控件,给控件接口添加方法。
该控件可以在VB环境下使用其方法,但是在IE和ActiveX Control Container环境下看不见控件方法,该请问如何处理?
解决方案1:
呵呵,分是够了,你的邮件呢,用短消息发给我吧
解决方案2: A control container accesses the properties and methods of a control using the control's IDispatch interface. So a control must provide an implementation of IDispatch when it has properties and methods.
http://www.microsoft.com/msj/0299/atl3Activex/atl3Activex.aspx