?? customcollectiondemodlg.h
字號:
// CustomCollectionDemoDlg.h : header file
//
#pragma once
#include "afxwin.h"
#include "Programmer.h"
#include "afxcmn.h"
// CCustomCollectionDemoDlg dialog
class CCustomCollectionDemoDlg : public CDialog
{
// Construction
public:
CCustomCollectionDemoDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
enum { IDD = IDD_CUSTOMCOLLECTIONDEMO_DIALOG };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
// Implementation
protected:
HICON m_hIcon;
gcroot<ProgrammerCollection*> m_collProgrammers;
void RefreshList();
// Generated message map functions
virtual BOOL OnInitDialog();
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
DECLARE_MESSAGE_MAP()
public:
CString m_strFullName;
int m_iAnnualSalary;
int m_iExperienceInYears;
afx_msg void OnBnClickedAdd();
afx_msg void OnBnClickedSort();
afx_msg void OnBnClickedSortBySal();
afx_msg void OnBnClickedSortByExp();
CListCtrl m_lstProgrammers;
afx_msg void OnHdnItemclickList1(NMHDR *pNMHDR, LRESULT *pResult);
afx_msg void OnBnClickedCancel2();
};
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -