DeleteDlg.cpp
资源名称:福利彩票号码统计.rar [点击查看]
上传用户:dinghaosmt
上传日期:2013-03-22
资源大小:110k
文件大小:2k
源码类别:
射击游戏
开发平台:
Visual C++
- // DeleteDlg.cpp : implementation file
- //
- #include "stdafx.h"
- #include "福利彩票号码统计.h"
- #include "DeleteDlg.h"
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
- /////////////////////////////////////////////////////////////////////////////
- // CDeleteDlg dialog
- CDeleteDlg::CDeleteDlg(CWnd* pParent /*=NULL*/)
- : CDialog(CDeleteDlg::IDD, pParent)
- {
- //{{AFX_DATA_INIT(CDeleteDlg)
- m_Del_ID = 0;
- //}}AFX_DATA_INIT
- }
- void CDeleteDlg::DoDataExchange(CDataExchange* pDX)
- {
- CDialog::DoDataExchange(pDX);
- //{{AFX_DATA_MAP(CDeleteDlg)
- DDX_Text(pDX, IDC_EDIT1, m_Del_ID);
- //}}AFX_DATA_MAP
- }
- BEGIN_MESSAGE_MAP(CDeleteDlg, CDialog)
- //{{AFX_MSG_MAP(CDeleteDlg)
- ON_BN_CLICKED(IDC_DELETE_BUTTON, OnDeleteButton)
- ON_BN_CLICKED(IDC_EXIT_BUTTON, OnExitButton)
- ON_WM_CTLCOLOR()
- //}}AFX_MSG_MAP
- END_MESSAGE_MAP()
- /////////////////////////////////////////////////////////////////////////////
- // CDeleteDlg message handlers
- void CDeleteDlg::OnDeleteButton()
- {
- OnOK();
- }
- void CDeleteDlg::OnExitButton()
- {
- OnCancel();
- }
- HBRUSH CDeleteDlg::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor)
- {
- pDC->SetBkMode(TRANSPARENT);
- pDC->SetTextColor(RGB(0,0,255));
- return m_hbrush;
- }
- BOOL CDeleteDlg::OnInitDialog()
- {
- CDialog::OnInitDialog();
- m_hbrush=CreateSolidBrush(RGB(128,0,128));
- return TRUE; // return TRUE unless you set the focus to a control
- // EXCEPTION: OCX Property Pages should return FALSE
- }