📄 mywritegatherpage.h
字号:
#pragma once
#include "afxwin.h"
#include "afxcmn.h"
// CMyWriteGatherPage 对话框
class CMyWriteGatherPage : public CDialog
{
DECLARE_DYNAMIC(CMyWriteGatherPage)
public:
CMyWriteGatherPage(CWnd* pParent = NULL); // 标准构造函数
virtual ~CMyWriteGatherPage();
// 对话框数据
enum { IDD = IDD_WRITEGATHERPAGE };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
DECLARE_MESSAGE_MAP()
public:
afx_msg void OnBnClickedOk();
public:
BOOL type;
private:
CToolTipCtrl m_tooltip;
CMySetClass * p_MySetClass;
CWnd* cwnd_year;
CWnd* cwnd_placename;
CWnd* cwnd_schoolname;
CWnd* cwnd_gatherpageedit;
afx_msg void OnBnClickedAdd();
virtual BOOL OnInitDialog();
afx_msg void OnNMClickList(NMHDR *pNMHDR, LRESULT *pResult);
afx_msg void OnBnClickedModify();
afx_msg void OnBnClickedDel();
afx_msg void OnBnClickedNewview();
CListCtrl m_list;
CComboBox m_year;
CComboBox m_schoolname;
CEdit m_gatherpageedit;
_RecordsetPtr m_pRecordset;
public:
virtual BOOL PreTranslateMessage(MSG* pMsg);
afx_msg void OnBnClickedCancel();
afx_msg void OnCbnSelchangeYear();
afx_msg BOOL OnEraseBkgnd(CDC* pDC);
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
private:
CXPButton m_add;
CXPButton m_modify;
CXPButton m_del;
CXPButton m_cancel;
CXPButton m_newview;
protected:
virtual void OnCancel();
virtual void OnOK();
private:
CComboBox m_placename;
public:
afx_msg void OnCbnSelchangePlacename();
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -