sss.cpp

来自「Visual C++ 的学习资料一」· C++ 代码 · 共 51 行

CPP
51
字号
// sss.cpp : implementation file
//

#include "stdafx.h"
#include "Examle1.h"
#include "sss.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// sss dialog


sss::sss(CWnd* pParent /*=NULL*/)
	: CDialog(sss::IDD, pParent)
{
	//{{AFX_DATA_INIT(sss)
		// NOTE: the ClassWizard will add member initialization here
	//}}AFX_DATA_INIT
}


void sss::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(sss)
	DDX_Control(pDX, IDC_BUTTON2, m_eee);
	DDX_Control(pDX, IDC_BUTTON1, m_aa);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(sss, CDialog)
	//{{AFX_MSG_MAP(sss)
	ON_WM_DRAWITEM()
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// sss message handlers

void sss::OnDrawItem(int nIDCtl, LPDRAWITEMSTRUCT lpDrawItemStruct) 
{
//	m_aa.DrawItem(lpDrawItemStruct);	
	CDialog::OnDrawItem(nIDCtl, lpDrawItemStruct);
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?