Basic Control Containment[2]
来源:互联网 发布:淘宝手机哪里实名认证 编辑:程序博客网 时间:2024/05/22 04:27
The CreateNormalizedObject function creates an instance of a COM object using the strings of the param lpszTricsData. 共有
static HRESULT CreateNormalizedObject(LPCOLESTR lpszTricsData, REFIID riid, void** ppvObj, bool& bWasHTML, BSTR bstrLicKey) atlhost.h ln 66
三种情况:1.It's HTML, so let's create mshtml(HTMLDocument)。2.URL so let's create shdocvw.(WebBrowser). 3.assume ProgID Or CLSID.(If the license key is present Create using IClassFactory2)
接下来是HRESULT ActivateAx(IUnknown* pUnkControl, bool bInited, IStream* pStream)
他负责的工作有:
1.通过控制的IOleObject实现设置客户站点,也就是CAxHostWindow的IOleClientSite实现。
2.通过控制的IPersistStreamInit实现调用,InitNew或者load。
3.把CAxHostWindow的IAdviseSink实现传递给控制的IViewObject实现。
4.。。。
待续
- Basic Control Containment[2]
- Basic Control Containment基本的控制容器[1]
- basic python2(conditions & control flow)
- VSTO - Named Range Control Basic Operation
- Android - some basic control & resource operations
- 遏制政策 containment policy
- nonpublic over containment
- EMF中的containment reference和 non containment reference分别是什么
- Control Chart as a Component of Seven Basic Quality Tool
- objc.io 1.4 View Controller Containment (转)
- Python 2 basic
- VBIRD BASIC 2
- HackThisSite/Basic 2解决方案
- zookeeper basic 2
- [BASIC-2] 01字串
- 227. Basic Calculator 2
- Angularjs-2 (basic)
- SLAM--basic knowledge 2
- ASP.NET 中的正则表达式
- 2007安全焦点信息安全技术峰会有感
- 成功软件开发者的9种编程习惯 1
- 调试SQL Server的存储过程及用户定义函数
- 逐月对比的交叉表处理
- Basic Control Containment[2]
- 好书整理系列之-设计模式:可复用面向对象软件的基础 5.5
- windows下建VPN服务器方法
- 无规律自定义分段的分类汇总+交叉表处理
- 特殊分页处理
- BOM数据排序及分级显示
- 正则表达式从入门到精通
- 自定义公式的计算处理
- 组合处理