listbox.h
来自「《Visual C++ MFC编程实例》配套代码,如果大家正在学习此教程」· C头文件 代码 · 共 52 行
H
52 行
#if !defined(AFX_ListboxDLG_H__D8E5B436_BBF1_11D1_A18D_DCB3C85EBD34__INCLUDED_)
#define AFX_ListboxDLG_H__D8E5B436_BBF1_11D1_A18D_DCB3C85EBD34__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// LstBxDlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CListboxDlg dialog
#include "afxtempl.h"
class CListboxDlg : public CDialog
{
// Construction
public:
CListboxDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CListboxDlg)
enum { IDD = IDD_BUTTONS_DIALOG };
// NOTE: the ClassWizard will add data members here
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CListboxDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual void PostNcDestroy();
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CListboxDlg)
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
CList<CListBox*,CListBox*> m_ListboxList;
CList<CStatic*,CStatic*> m_staticList;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_ListboxDLG_H__D8E5B436_BBF1_11D1_A18D_DCB3C85EBD34__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?