这是一个tab control的立志子 希望可以帮到大家 也希望大家多多指教
源代码在线查看: one.cpp
// one.cpp : implementation file
//
#include "stdafx.h"
#include "xiaoxia.h"
#include "one.h"
#include ".\one.h"
// one dialog
IMPLEMENT_DYNAMIC(one, CDialog)
one::one(CWnd* pParent /*=NULL*/)
: CDialog(one::IDD, pParent)
, m_one(0)
{
}
one::~one()
{
}
void one::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
}
BEGIN_MESSAGE_MAP(one, CDialog)
ON_BN_CLICKED(IDC_BUTTON1, OnBnClickedButton1)
ON_BN_CLICKED(IDC_BUTTON6, OnBnClickedButton6)
ON_BN_CLICKED(IDC_BUTTON7, OnBnClickedButton7)
END_MESSAGE_MAP()
// one message handlers
void one::OnBnClickedButton1()
{
// TODO: Add your control notification handler code here
}
void one::OnBnClickedButton6()
{
// TODO: Add your control notification handler code here
}
void one::OnBnClickedButton7()
{
// TODO: Add your control notification handler code here
}