that is a tab control 
see  the help about tab control in msdn

解决方案 »

  1.   

    你用向导给你的程序添加一个向导就行了,也就是添加Property Sheet, 到时候选择向导方式 就行了。(在Project\Add to Project\Components and Controls中)
      

  2.   

    // MyPropertyPage.h
    class CMyPropertyPage1 : public CPropertyPage
    {
    DECLARE_DYNCREATE(CMyPropertyPage1)
    public:
    CMyPropertyPage1();
    ~CMyPropertyPage1();
    enum { IDD = IDD_PROPPAGE1 };
    protected:
    virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
    DECLARE_MESSAGE_MAP()
    };class CMyPropertyPage2 : public CPropertyPage
    {
    DECLARE_DYNCREATE(CMyPropertyPage2)
    public:
    CMyPropertyPage2();
    ~CMyPropertyPage2();
    enum { IDD = IDD_PROPPAGE2 };
    protected:
    virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
    DECLARE_MESSAGE_MAP()
    };// MyPropertyPage.cpp
    #include "MyPropertyPage.h"IMPLEMENT_DYNCREATE(CMyPropertyPage1, CPropertyPage)
    IMPLEMENT_DYNCREATE(CMyPropertyPage2, CPropertyPage)
    CMyPropertyPage1::CMyPropertyPage1() : CPropertyPage(CMyPropertyPage1::IDD)
    {
    }
    CMyPropertyPage1::~CMyPropertyPage1()
    {
    }
    void CMyPropertyPage1::DoDataExchange(CDataExchange* pDX)
    {
    CPropertyPage::DoDataExchange(pDX);
    }
    BEGIN_MESSAGE_MAP(CMyPropertyPage1, CPropertyPage)
    END_MESSAGE_MAP()CMyPropertyPage2::CMyPropertyPage2() : CPropertyPage(CMyPropertyPage2::IDD)
    {
    }
    CMyPropertyPage2::~CMyPropertyPage2()
    {
    }void CMyPropertyPage2::DoDataExchange(CDataExchange* pDX)
    {
    CPropertyPage::DoDataExchange(pDX);
    }BEGIN_MESSAGE_MAP(CMyPropertyPage2, CPropertyPage)
    END_MESSAGE_MAP()
    // MyPropertySheet.h
    class CMyPropertyPage1;
    class CMyPropertyPage2;
    class CMyPropertySheet : public CPropertySheet
    {
    DECLARE_DYNAMIC(CMyPropertySheet)
    public:
    CMyPropertySheet(CWnd* pWndParent = NULL);
    public:
    CMyPropertyPage1 m_Page1;
    CMyPropertyPage2 m_Page2;
    public:
    virtual ~CMyPropertySheet();
    DECLARE_MESSAGE_MAP()
    };//MyPropertySheet.cpp
    #include "MyPropertyPage.h"
    #include "MyPropertySheet.h"
    IMPLEMENT_DYNAMIC(CMyPropertySheet, CPropertySheet)
    CMyPropertySheet::CMyPropertySheet(CWnd* pWndParent)
     : CPropertySheet(IDS_PROPSHT_CAPTION, pWndParent)
    {
    AddPage(&m_Page1);
    AddPage(&m_Page2);
    }CMyPropertySheet::~CMyPropertySheet()
    {
    }
    BEGIN_MESSAGE_MAP(CMyPropertySheet, CPropertySheet)
    END_MESSAGE_MAP()//使用MyPropertySheet
    CMyPropertySheet myPropertySheet;
    myPropertySheet.DoModal();
      

  3.   

    记得加入ID为IDD_PROPPAGE1和IDD_PROPPAGE2对话框,要选中Visible