请问dialog based的MFC appWizard(exe)生成的应用程序,可不可以通过点击dialog上的按钮再弹出窗口?如何实现?
谢谢有热心的网友说:
http://expert.csdn.net/Expert/topic/3046/3046168.xml?temp=.5517389// 包含头文件
#include "Dialog2.h"...// 按钮调用显示 dialog
CDialog2 dlg;
dlg.DoModal ();
单我这样做了之后windows弹出了一个警告消息说
For information on how your program can cause an assertion failure, see the visual c++ documentation on asserts.
终止 重试 忽略这是咋回事儿?
谢谢
谢谢有热心的网友说:
http://expert.csdn.net/Expert/topic/3046/3046168.xml?temp=.5517389// 包含头文件
#include "Dialog2.h"...// 按钮调用显示 dialog
CDialog2 dlg;
dlg.DoModal ();
单我这样做了之后windows弹出了一个警告消息说
For information on how your program can cause an assertion failure, see the visual c++ documentation on asserts.
终止 重试 忽略这是咋回事儿?
谢谢
解决方案 »
- 实现广义表存储
- 第一次实习面试的经历。。。
- bstr向CString转换
- fatal error C1010: unexpected end of file while looking for precompiled header directive???
- 求输出接口指针参数的函数的例子
- spi 截获了网页数据,不知道怎样解析,盼高手指点!
- 如何启动其他机器上的应用程序?
- 急!请问:一般情况下,如何在一个程序中将控制权转移到另一个程序(进程),两个程序都可编?
- 我在PAINT中画一条线,每一个WM_TIMER来的时候,线的X坐标就要加一,invalidaterect后为什么会闪?
- 拖动滚动条后怎么样知道某点到原点的坐标?
- 关于installshield!
- 请教有关自定义类调用CListBoxt的问题
CDialog2 dlg;
dlg.DoModal ();
添加对话框资源,对该对话框资源添加新类dialog2然后按你说的做应该没问题