请问怎样把对话框显示在view上?例如把关于对话框显示在VIEW上的某个位置
解决方案 »
- 数据库如何添加多个表并关联
- 关于MFC标记菜单
- 求助:在基于对话框的程序中,其中一个对话框中保存的几个变量值怎么传递到另一个对话框中继续使用啊??
- directshow 句柄泄漏
- 求助!谁知道“国家地理”的“永远的仇敌-《狮子和鬣狗》”的下载地址
- MFC中ODBC简单问题
- 字符串类型转换
- 请教各位大侠,想设定一个横坐标为20-50,纵坐标为70-135的坐标系,坐标原点在屏幕左下角,在Ondraw里面应该怎样设置非常感谢
- win32 application与win32 consol application有什么区别?
- ANSI C++ 中的string类的头文件为? #include "" ...
- 我的picture box里有图象,请问怎样把里面的图象清除了?
- RunEmbedded()和RunAutomated()的问题?
View最后一步选择从FormView派生
These constructors create an instance of a CFormView object and identify the dialog box resource on which the view is based in one of the following ways: Pass a string as the parameter to the constructor to identify the resource by name.
Pass an unsigned integer as the parameter to the constructor to identify the resource by identifier.
CFormView(
LPCTSTR lpszTemplateName ); CFormView(
UINT nIDTemplate );
{
...
};
int CMyView::OnCreate(...)
{
CMyView::OnCreate(); m_formview.Create(NULL, NULL, WS_CHILD|WS_VISIBLE,
}