// opsortspttpdlg.cpp : implementation file // #include "stdafx.h" #include "geomative.h" #include "opsortspttpdlg.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // COpSortSptTpDlg dialog COpSortSptTpDlg::COpSortSptTpDlg(CWnd* pParent /*=NULL*/) : CDialog(COpSortSptTpDlg::IDD, pParent) { //{{AFX_DATA_INIT(COpSortSptTpDlg) // NOTE: the ClassWizard will add member initialization here //}}AFX_DATA_INIT } void COpSortSptTpDlg::DoDataExchange(CDataExchange* pDX) { CDialog::DoDataExchange(pDX); //{{AFX_DATA_MAP(COpSortSptTpDlg) // NOTE: the ClassWizard will add DDX and DDV calls here //}}AFX_DATA_MAP } BEGIN_MESSAGE_MAP(COpSortSptTpDlg, CDialog) //{{AFX_MSG_MAP(COpSortSptTpDlg) // NOTE: the ClassWizard will add message map macros here //}}AFX_MSG_MAP END_MESSAGE_MAP() ///////////////////////////////////////////////////////////////////////////// // COpSortSptTpDlg message handlers BOOL COpSortSptTpDlg::PreTranslateMessage(MSG* pMsg) { // TODO: Add your specialized code here and/or call the base class if(pMsg->message==WM_KEYDOWN && pMsg->wParam==VK_RETURN) { return TRUE; } if(pMsg->message==WM_KEYDOWN && pMsg->wParam==VK_ESCAPE) { return TRUE; } return CDialog::PreTranslateMessage(pMsg); }