// AlterTopicUnitDlg.cpp : implementation file//#include "stdafx.h"#include "webdatamining.h"#include "AlterTopicUnitDlg.h"#ifdef _DEBUG#define new DEBUG_NEW#undef THIS_FILEstatic char THIS_FILE[] = __FILE__;#endif/////////////////////////////////////////////////////////////////////////////// CAlterTopicUnitDlg dialogCAlterTopicUnitDlg::CAlterTopicUnitDlg(CWnd* pParent /*=NULL*/): CDialogEx(CAlterTopicUnitDlg::IDD, pParent){//{{AFX_DATA_INIT(CAlterTopicUnitDlg)m_strValue = _T("");//}}AFX_DATA_INIT}void CAlterTopicUnitDlg::DoDataExchange(CDataExchange* pDX){CDialogEx::DoDataExchange(pDX);//{{AFX_DATA_MAP(CAlterTopicUnitDlg)DDX_Control(pDX, IDC_TOPIC_UNIT, m_ctlTopicUnit);DDX_Control(pDX, IDC_PROCESS_TYPE, m_ctlProcessType);DDX_CBIndex(pDX, IDC_TOPIC_UNIT, m_nTopicUnit);DDX_CBIndex(pDX, IDC_PROCESS_TYPE, m_nProcessType);DDX_Text(pDX, IDC_VALUE, m_strValue);//}}AFX_DATA_MAP}BEGIN_MESSAGE_MAP(CAlterTopicUnitDlg, CDialogEx)//{{AFX_MSG_MAP(CAlterTopicUnitDlg)//}}AFX_MSG_MAPEND_MESSAGE_MAP()/////////////////////////////////////////////////////////////////////////////// CAlterTopicUnitDlg message handlersvoid CAlterTopicUnitDlg::OnOK(){// TODO: Add extra validation hereUpdateData();m_strValue.TrimLeft();m_strValue.TrimRight();if( m_strValue.IsEmpty() && m_ctlProcessType.GetCurSel() != 3 ){MessageBox(_T("ݲΪգ"));return;}CDialogEx::OnOK();}BOOL CAlterTopicUnitDlg::OnInitDialog(){CDialogEx::OnInitDialog();// TODO: Add extra initialization herem_ctlTopicUnit.SetCurSel(9);m_ctlProcessType.SetCurSel(2);return TRUE; // return TRUE unless you set the focus to a control// EXCEPTION: OCX Property Pages should return FALSE}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。