我在基于 Dialog的 application 里, 在 主 Dialog 的 OnInitDialog function 里
返回 FALSE; 按理应该应该程序 exit的, 怎么和 返回 TRUE 没有什么区别 ?-------------------------------------------------------
I can't bear it...
God save me !
返回 FALSE; 按理应该应该程序 exit的, 怎么和 返回 TRUE 没有什么区别 ?-------------------------------------------------------
I can't bear it...
God save me !
解决方案 »
- VC++ MSComm以及多线程问题
- OpenProcess函数出现的一个奇怪的问题,请各位专家帮帮忙?
- 怎么识别显示器
- 关于hook和dll的问题值得看一看
- 如何在编辑控件(Edit Box)中使用回车键,使编辑框中的内容换行??谢谢!!
- VC++与Matlab混合编程之引擎
- VC++中如何将传递两个对象,给一个工作线程(AfxBeginThread(,)),咱们怎么封装,急
- 如何删除文件的一部分?
- 谁能解密FileViewX FolderViewX请报价(分)
- CHyperLink 用动态的方法创建会失败
- 如何得到一个按扭的文本和大小?
- 请问,有谁用过CString::Mid(nFirst,nCount),CString::GetAt()
virtual BOOL OnInitDialog( );Return ValueSpecifies whether the application has set the input focus to one of the controls in the dialog box. If OnInitDialog returns nonzero, Windows sets the input focus to the first control in the dialog box. The application can return 0 only if it has explicitly set the input focus to one of the controls in the dialog box.ResThis member function is called in response to the WM_INITDIALOG message. This message is sent to the dialog box during the Create, CreateIndirect, or DoModal calls, which occur immediately before the dialog box is displayed. Override this member function if you need to perform special processing when the dialog box is initialized. In the overridden version, first call the base class OnInitDialog but disregard its return value. You will normally return TRUE from your overridden member function.
return false or true;
只是说做不做往下的部分