C++学习笔记3—对话框
摘要:
1、模态对话框CTipDlg tipDlg;INT_PTR nResponse = tipDlg.DoModal();if(nResponse == IDCANCEL){return;}UpdateData(TRUE);m_editsum = m_editAddend+m_editSummand;UpdateData(FALSE);2、非模态对话框#include "TipDlg.h"CTipDlg *m_pTipDlg;m_pTipDlg = new CTipDlg();m_pTipDlg->Create(IDD_TIP_DIALOG,this);m_pTipDlg 阅读全文
posted @ 2013-08-06 14:58 松原蔡晓冬 阅读(299) 评论(0) 推荐(0) 编辑