www.pudn.com > ManyControl.rar > ModallessDlg.cpp


// ModallessDlg.cpp : implementation file 
// 
 
#include "stdafx.h" 
#include "MyDialog.h" 
#include "ModallessDlg.h" 
 
#ifdef _DEBUG 
#define new DEBUG_NEW 
#undef THIS_FILE 
static char THIS_FILE[] = __FILE__; 
#endif 
 
///////////////////////////////////////////////////////////////////////////// 
// CModallessDlg dialog 
 
 
CModallessDlg::CModallessDlg(CWnd* pParent /*=NULL*/) 
	: CDialog(CModallessDlg::IDD, pParent) 
{ 
	//{{AFX_DATA_INIT(CModallessDlg) 
		// NOTE: the ClassWizard will add member initialization here 
	//}}AFX_DATA_INIT 
} 
 
 
void CModallessDlg::DoDataExchange(CDataExchange* pDX) 
{ 
	CDialog::DoDataExchange(pDX); 
	//{{AFX_DATA_MAP(CModallessDlg) 
		// NOTE: the ClassWizard will add DDX and DDV calls here 
	//}}AFX_DATA_MAP 
} 
 
 
BEGIN_MESSAGE_MAP(CModallessDlg, CDialog) 
	//{{AFX_MSG_MAP(CModallessDlg) 
	ON_BN_CLICKED(IDC_BUTTON_TEST, OnButtonTest) 
	ON_BN_CLICKED(IDC_RADIO_HELLO, OnRadioHello) 
	ON_BN_CLICKED(IDC_RADIO_WORLD, OnRadioWorld) 
	ON_BN_CLICKED(IDC_RADIO_HA, OnRadioHa) 
	ON_BN_CLICKED(IDC_CHECK_HELLO, OnCheckHello) 
	ON_BN_CLICKED(IDC_CHECK_HA, OnCheckHa) 
	ON_BN_CLICKED(IDC_CHECK_WORLD, OnCheckWorld) 
	//}}AFX_MSG_MAP 
END_MESSAGE_MAP() 
 
///////////////////////////////////////////////////////////////////////////// 
// CModallessDlg message handlers 
 
void CModallessDlg::OnButtonTest()  
{ 
	// TODO: Add your control notification handler code here 
	AfxMessageBox("²âÊÔ°´Å¥¿Ø¼þ!"); 
} 
 
void CModallessDlg::OnRadioHello()  
{ 
	// TODO: Add your control notification handler code here 
	AfxMessageBox("Hello"); 
} 
 
void CModallessDlg::OnRadioWorld()  
{ 
	// TODO: Add your control notification handler code here 
	AfxMessageBox("World"); 
} 
 
void CModallessDlg::OnRadioHa()  
{ 
	// TODO: Add your control notification handler code here 
	AfxMessageBox("Ha !"); 
} 
 
void CModallessDlg::OnCheckHello()  
{ 
	// TODO: Add your control notification handler code here 
	 
} 
 
void CModallessDlg::OnCheckHa()  
{ 
	// TODO: Add your control notification handler code here 
	 
} 
 
void CModallessDlg::OnCheckWorld()  
{ 
	// TODO: Add your control notification handler code here 
	 
}