// DialFindComShow.cpp : implementation file // #include "stdafx.h" #include "geomative.h" #include "DialFindComShow.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CDialFindComShow dialog CDialFindComShow::CDialFindComShow(CWnd* pParent /*=NULL*/) : CDialog(CDialFindComShow::IDD, pParent) { //{{AFX_DATA_INIT(CDialFindComShow) // NOTE: the ClassWizard will add member initialization here //}}AFX_DATA_INIT m_strShowCom = _T(""); } void CDialFindComShow::DoDataExchange(CDataExchange* pDX) { CDialog::DoDataExchange(pDX); //{{AFX_DATA_MAP(CDialFindComShow) // NOTE: the ClassWizard will add DDX and DDV calls here //}}AFX_DATA_MAP } BEGIN_MESSAGE_MAP(CDialFindComShow, CDialog) //{{AFX_MSG_MAP(CDialFindComShow) //}}AFX_MSG_MAP END_MESSAGE_MAP() ///////////////////////////////////////////////////////////////////////////// // CDialFindComShow message handlers BOOL CDialFindComShow::OnInitDialog() { CDialog::OnInitDialog(); if (LANG_ZHCN == g_iUILanguage) GetDlgItem(IDOK)->SetWindowTextA(_T("确定")); // TODO: Add extra initialization here GetDlgItem(IDC_STATIC_COMM_SHOW)->SetWindowText(m_strShowCom); return TRUE; // return TRUE unless you set the focus to a control // EXCEPTION: OCX Property Pages should return FALSE }