GraphicDlg.cpp
资源名称:VC6.0.rar [点击查看]
上传用户:qdhmjx
上传日期:2022-07-11
资源大小:2226k
文件大小:1k
源码类别:
书籍源码
开发平台:
Visual C++
- // GraphicDlg.cpp : implementation file
- //
- #include "stdafx.h"
- #include "ex81.h"
- #include "GraphicDlg.h"
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
- /////////////////////////////////////////////////////////////////////////////
- // CGraphicDlg dialog
- CGraphicDlg::CGraphicDlg(CWnd* pParent /*=NULL*/)
- : CDialog(CGraphicDlg::IDD, pParent)
- {
- //{{AFX_DATA_INIT(CGraphicDlg)
- m_Graphic = -1;
- m_bChkRed = FALSE;
- m_bChkGreen = FALSE;
- m_bChkBlue = FALSE;
- //}}AFX_DATA_INIT
- }
- void CGraphicDlg::DoDataExchange(CDataExchange* pDX)
- {
- CDialog::DoDataExchange(pDX);
- //{{AFX_DATA_MAP(CGraphicDlg)
- DDX_Radio(pDX, IDC_Ellipse, m_Graphic);
- DDX_Check(pDX, IDC_CHKRED, m_bChkRed);
- DDX_Check(pDX, IDC_CHKGREEN, m_bChkGreen);
- DDX_Check(pDX, IDC_CHKBLUE, m_bChkBlue);
- //}}AFX_DATA_MAP
- }
- BEGIN_MESSAGE_MAP(CGraphicDlg, CDialog)
- //{{AFX_MSG_MAP(CGraphicDlg)
- ON_BN_CLICKED(IDC_TEXT, OnText)
- //}}AFX_MSG_MAP
- END_MESSAGE_MAP()
- /////////////////////////////////////////////////////////////////////////////
- // CGraphicDlg message handlers
- void CGraphicDlg::OnText()
- {
- MessageBox("这是图形选择对话框");
- }