摘要:
void CFileApp::OpenFile(){ char szFilter[]="All Files (*.*)\0*.*\0Text Files(*.txt)\0*.txt\0\0"; //注意 CString msg="File to open:"; CFileDialog dlg(true); ... 阅读全文
posted @ 2007-03-06 17:14 明飞 阅读(275) 评论(0) 推荐(0)
|
|||
|
摘要:
void CFileApp::OpenFile(){ char szFilter[]="All Files (*.*)\0*.*\0Text Files(*.txt)\0*.txt\0\0"; //注意 CString msg="File to open:"; CFileDialog dlg(true); ... 阅读全文
posted @ 2007-03-06 17:14 明飞 阅读(275) 评论(0) 推荐(0)
摘要:
调用函数void CModalessView::OnViewDialog() {1.模态调用 CModelessDlg *pDlg=new CModelessDlg; //初始化对话框对象pDlg->DoModal();或者 CModelessDlg pDlgpDlg.DoModal(); 2.非模态调用CModelessDlg *pDlg=new CModelessDlg; pDlg->... 阅读全文
posted @ 2007-03-06 10:47 明飞 阅读(908) 评论(1) 推荐(0) |
|||