a
This commit is contained in:
@@ -0,0 +1,68 @@
|
||||
// CustomSptQueryDial.cpp : implementation file
|
||||
//
|
||||
|
||||
#include "stdafx.h"
|
||||
#include "geomative.h"
|
||||
#include "CustomSptQueryDial.h"
|
||||
|
||||
#ifdef _DEBUG
|
||||
#define new DEBUG_NEW
|
||||
#undef THIS_FILE
|
||||
static char THIS_FILE[] = __FILE__;
|
||||
#endif
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// CCustomSptQueryDial dialog
|
||||
|
||||
|
||||
CCustomSptQueryDial::CCustomSptQueryDial(CWnd* pParent /*=NULL*/)
|
||||
: CDialog(CCustomSptQueryDial::IDD, pParent)
|
||||
{
|
||||
//{{AFX_DATA_INIT(CCustomSptQueryDial)
|
||||
// NOTE: the ClassWizard will add member initialization here
|
||||
//}}AFX_DATA_INIT
|
||||
m_nRes = 0;
|
||||
}
|
||||
|
||||
|
||||
void CCustomSptQueryDial::DoDataExchange(CDataExchange* pDX)
|
||||
{
|
||||
CDialog::DoDataExchange(pDX);
|
||||
//{{AFX_DATA_MAP(CCustomSptQueryDial)
|
||||
// NOTE: the ClassWizard will add DDX and DDV calls here
|
||||
//}}AFX_DATA_MAP
|
||||
}
|
||||
|
||||
|
||||
BEGIN_MESSAGE_MAP(CCustomSptQueryDial, CDialog)
|
||||
//{{AFX_MSG_MAP(CCustomSptQueryDial)
|
||||
ON_BN_CLICKED(IDC_BUTTON_APPEND, OnButtonAppend)
|
||||
ON_BN_CLICKED(IDC_BUTTON_CANCEL, OnButtonCancel)
|
||||
ON_BN_CLICKED(IDC_BUTTON_REPLACE, OnButtonReplace)
|
||||
//}}AFX_MSG_MAP
|
||||
END_MESSAGE_MAP()
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// CCustomSptQueryDial message handlers
|
||||
|
||||
void CCustomSptQueryDial::OnButtonAppend()
|
||||
{
|
||||
// TODO: Add your control notification handler code here
|
||||
m_nRes = EN_QUE_APPEND;
|
||||
CDialog::OnOK();
|
||||
}
|
||||
|
||||
void CCustomSptQueryDial::OnButtonCancel()
|
||||
{
|
||||
// TODO: Add your control notification handler code here
|
||||
m_nRes = EN_QUE_CANCEL;
|
||||
CDialog::OnCancel();
|
||||
}
|
||||
|
||||
void CCustomSptQueryDial::OnButtonReplace()
|
||||
{
|
||||
// TODO: Add your control notification handler code here
|
||||
m_nRes = EN_QUE_REPLACE;
|
||||
CDialog::OnOK();
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user