📄 dlgotherteam.cpp
字号:
// DlgOtherTeam.cpp : implementation file
//
#include "stdafx.h"
#include "LinKGameEx.h"
#include "DlgOtherTeam.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CDlgOtherTeam dialog
CDlgOtherTeam::CDlgOtherTeam(CWnd* pParent /*=NULL*/)
: CDialog(CDlgOtherTeam::IDD, pParent)
{
//{{AFX_DATA_INIT(CDlgOtherTeam)
// NOTE: the ClassWizard will add member initialization here
//}}AFX_DATA_INIT
}
void CDlgOtherTeam::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CDlgOtherTeam)
DDX_Control(pDX, IDC_OTHERTREE, m_OtherTree);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CDlgOtherTeam, CDialog)
//{{AFX_MSG_MAP(CDlgOtherTeam)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CDlgOtherTeam message handlers
BOOL CDlgOtherTeam::OnInitDialog()
{
CDialog::OnInitDialog();
// TODO: Add extra initialization here
CRect m_Rect(0, 0, 0, 0);
GetParent()->GetClientRect(&m_Rect);
((CTabCtrl*)GetParent())->AdjustRect(false, &m_Rect);
MoveWindow(&m_Rect);
// 初始化控件
this->m_hItem = this->m_OtherTree.InsertItem( "Other_Team", TVI_ROOT); //在根结点上添加 "棋牌游戏"
this->m_OnehItem = this->m_OtherTree.InsertItem( "CS1.5_Team", m_hItem); //在根结点上添加 "棋牌游戏"
this->m_TwohItem = this->m_OtherTree.InsertItem( "JHL_Team", this->m_OnehItem);
this->m_ThreehItem = this->m_OtherTree.InsertItem( "Member_A", this->m_TwohItem);
this->m_ThreehItem = this->m_OtherTree.InsertItem( "Member_B", this->m_TwohItem);
this->m_TwohItem = this->m_OtherTree.InsertItem( "WT_Team", this->m_OnehItem);
this->m_ThreehItem = this->m_OtherTree.InsertItem( "Member_A", this->m_TwohItem);
this->m_ThreehItem = this->m_OtherTree.InsertItem( "Member_B", this->m_TwohItem);
this->m_OnehItem = this->m_OtherTree.InsertItem( "流星蝴蝶剑_Team", m_hItem); //在根结点上添加 "棋牌游戏"
this->m_TwohItem = this->m_OtherTree.InsertItem( "JHL_Team", this->m_OnehItem);
this->m_ThreehItem = this->m_OtherTree.InsertItem( "Member_A", this->m_TwohItem);
this->m_ThreehItem = this->m_OtherTree.InsertItem( "Member_B", this->m_TwohItem);
this->m_TwohItem = this->m_OtherTree.InsertItem( "WT_Team", this->m_OnehItem);
this->m_ThreehItem = this->m_OtherTree.InsertItem( "Member_A", this->m_TwohItem);
this->m_ThreehItem = this->m_OtherTree.InsertItem( "Member_B", this->m_TwohItem);
return TRUE; // return TRUE unless you set the focus to a control
// EXCEPTION: OCX Property Pages should return FALSE
}
void CDlgOtherTeam::InitControl()
{
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -