www.pudn.com > 44757463.rar > GraphInfoExtendDlg.cpp


// GraphInfoExtendDlg.cpp : implementation file 
// 
 
#include "stdafx.h" 
#include "graphsoft.h" 
#include "GraphInfoExtendDlg.h" 
 
#ifdef _DEBUG 
#define new DEBUG_NEW 
#undef THIS_FILE 
static char THIS_FILE[] = __FILE__; 
#endif 
 
///////////////////////////////////////////////////////////////////////////// 
// CGraphInfoExtendDlg dialog 
 
 
CGraphInfoExtendDlg::CGraphInfoExtendDlg(CWnd* pParent /*=NULL*/) 
	: CDialog(CGraphInfoExtendDlg::IDD, pParent) 
{ 
	//{{AFX_DATA_INIT(CGraphInfoExtendDlg) 
	m_nPointFlag = -1; 
	//}}AFX_DATA_INIT 
} 
 
 
void CGraphInfoExtendDlg::DoDataExchange(CDataExchange* pDX) 
{ 
	CDialog::DoDataExchange(pDX); 
	//{{AFX_DATA_MAP(CGraphInfoExtendDlg) 
	DDX_Control(pDX, IDC_COMBO_ANGLE, m_CombAngle); 
	DDX_Control(pDX, IDC_SPIN_ANGLE, m_ctrlAngleSpin); 
	DDX_Radio(pDX, IDC_DRAWPOINTS_RADIO, m_nPointFlag); 
	//}}AFX_DATA_MAP 
} 
 
 
BEGIN_MESSAGE_MAP(CGraphInfoExtendDlg, CDialog) 
	//{{AFX_MSG_MAP(CGraphInfoExtendDlg) 
	ON_CBN_EDITCHANGE(IDC_COMBO_ANGLE, OnEditchangeComboAngle) 
	//}}AFX_MSG_MAP 
END_MESSAGE_MAP() 
 
///////////////////////////////////////////////////////////////////////////// 
// CGraphInfoExtendDlg message handlers 
 
BOOL CGraphInfoExtendDlg::OnInitDialog()  
{ 
	CDialog::OnInitDialog(); 
	 
	// TODO: Add extra initialization here 
	m_ctrlAngleSpin.SetRange(-360,360);	 
	return TRUE;  // return TRUE unless you set the focus to a control 
	              // EXCEPTION: OCX Property Pages should return FALSE 
} 
 
void CGraphInfoExtendDlg::OnEditchangeComboAngle()  
{ 
	// TODO: Add your control notification handler code here 
	 
}