?? setsystem.cpp
字號:
// setsystem.cpp : implementation file
//
#include "stdafx.h"
#include "cript.h"
#include "setsystem.h"
#include "var.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// setsystem dialog
setsystem::setsystem(CWnd* pParent /*=NULL*/)
: CDialog(setsystem::IDD, pParent)
{
//{{AFX_DATA_INIT(setsystem)
// NOTE: the ClassWizard will add member initialization here
//}}AFX_DATA_INIT
types_num=4;
}
void setsystem::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(setsystem)
DDX_Control(pDX, IDC_LIST1, m_systemlist);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(setsystem, CDialog)
//{{AFX_MSG_MAP(setsystem)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// setsystem message handlers
void setsystem::OnOK()
{
m_type=m_systemlist.GetCurSel();
CDialog::OnOK();
}
BOOL setsystem::OnInitDialog()
{
CDialog::OnInitDialog();
UINT k;
for(k=0;k<types_num;k++)
m_systemlist.AddString(types[k]);
return TRUE; // return TRUE unless you set the focus to a control
// EXCEPTION: OCX Property Pages should return FALSE
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -