我用 VC++7.0 做一个对话框,一在对话框上放上 RICHEDIT2.0 控件,程序一运行就退出,把 RICHEDIT控件删除了,程序就正常运行
解决方案 »
- 请教一个关于CImageList控件的问题
- 请问VC CSplitter窗口如何防止某一列被用户拖曳为最小
- 求一TCP短连接的例子
- 请教大家一个问题,为什么直接使用CSocket类的Create(int port,DWORD socket_type,LPCSTR ipaddr)时总是报10049错误?
- 调试中出现了点问题,请高手指教。
- 谁有类似windows 画图软件的源码(工具的编写方法)?
- █200分求<操作系统:设计与实践>的电子书█
- 问
- 怪事多多,高手来救命!!!!
- z怎样用汇编把网管废掉??
- 请问大家,写网络下载类程序有哪个RFC可以参考?
- 当服务器端已经在Listen状态,如何关闭他然后重新Listen
{
AfxEnableControlContainer(); AfxInitRichEdit();//加在这里 // Standard initialization
// If you are not using these features and wish to reduce the size
// of your final executable, you should remove from the following
// the specific initialization routines you do not need.#ifdef _AFXDLL
Enable3dControls(); // Call this when using MFC in a shared DLL
#else
Enable3dControlsStatic(); // Call this when linking to MFC statically
#endif CTest6Dlg dlg;
m_pMainWnd = &dlg;
int nResponse = dlg.DoModal();
if (nResponse == IDOK )
{
// TODO: Place code here to handle when the dialog is
// dismissed with OK
}
else if (nResponse == IDCANCEL)
{
// TODO: Place code here to handle when the dialog is
// dismissed with Cancel
}
// Since the dialog has been closed, return FALSE so that we exit the
// application, rather than start the application's message pump.
return FALSE;
}