我想在一个对话框的指定区域 创建一个View(就像SDI里的文档窗口一样,还可以相应消息)
我应该怎么做哦??
我应该怎么做哦??
解决方案 »
- VC6调用VC2010动态库异常
- 如何创建非模态的打开文件对话框?
- 光标在CButton上怎么不变?
- 列表框控件的触发事件问题
- how to interrupts the execution of an application so that it can process the message queue
- 怎么读写WORD文档
- 关于UDP/IP协议打包的问题
- 安装visual studio 2008不能更改安装路径
- 想教大家问题ACTIVX中TCP函数的问题,提供源码让大家调试
- 请问那个函数可列举本机的所有driver? Think You!!
- Console程序的AfxGetAppName()问题
- 数组内存释放
Email:[email protected]
{
...........
//视图类显示
CRect rectWndClient;
//GetClientRect(&rectWndClient); //得到对话框的大小
CRuntimeClass *pViewRuntimeClass = RUNTIME_CLASS(CMyView);
CMyView *pView = (CMyView*)pViewRuntimeClass->CreateObject();
pView->Create(NULL,NULL,WS_VISIBLE|WS_CHILD,
rectWndClient,
this,666,NULL);
pView->OnInitialUpdate();
........
}