driver~1.h
来自「一个简单的rpg游戏」· C头文件 代码 · 共 42 行
H
42 行
// DriverDialog.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// DriverDialog dialog
class DriverDialog : public CDialog
{
// Construction
public:
DriverDialog(CWnd* pParent = NULL); // standard constructor
BOOL SetContents( CArray<CString, CString>* );
int GetSelection() { return selection; }
// Dialog Data
//{{AFX_DATA(DriverDialog)
enum { IDD = IDD_DRIVERDIALOG };
CListBox driverlist;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(DriverDialog)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(DriverDialog)
virtual BOOL OnInitDialog();
virtual void OnOK();
afx_msg void OnDblclkDriverlist();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
CArray<CString, CString>* list;
int selection;
};
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?