CreateControl
来源:互联网 发布:linux检索文件内容 编辑:程序博客网 时间:2024/05/23 23:24
void CTest0515Active_1Dlg::OnBnClickedButtonLoadOcx(){ CRect rc; GetClientRect(&rc); rc.left = rc.right / 4; rc.right = rc.right * 3 / 4; rc.top = rc.bottom / 4; rc.bottom = rc.bottom * 3 / 4; bool bLoad = m_ActiveCtrl.CreateControl( _T("{4E29832B-7197-4B2D-91F5-1DC449ED1E85}"), _T("ActiveCtrl1"), WS_VISIBLE, rc, this, m_nID ); if (bLoad == FALSE) { ::MessageBox(this->m_hWnd, _T("Error!!"), _T("Could not place control") ,MB_OK); return; } m_ActiveCtrl.ShowWindow(SW_SHOW);
阅读全文
0 0
- CreateControl
- CreateControl
- CreateControl
- DuiLib CreateControl
- 通过CreateControl()直接创建控件(ocx)失败时的处理
- 深入C#内存管理来分析值类型&引用类型,装箱&拆箱,堆栈几个概念组合之间的区别
- 数据库事务4种隔离级别
- python数据挖掘包SciPy Sparse
- C++实验六:数组合并
- 数据类型
- CreateControl
- C++实验6
- C++作业六
- BZOJ4300 绝世好题
- 事务+事务特性+提交事务+回滚事务+保存点
- USACO-Section1.1 Your Ride Is Here [模拟]
- HDU 1080 Human Gene Functions(LCS变形)
- Android图片加载神器之Fresco,基于各种使用场景的讲解
- LeetCode练习_20170519