📄 bargrdlg.h
字号:
// bargrdlg.h : header file
//
#define IDC_BUTTON1 101
#define IDC_BUTTON2 102
#define IDC_BUTTON3 103
#define IDC_BUTTON4 104
#define IDC_BUTTON5 105
#define IDC_BUTTON6 106
/////////////////////////////////////////////////////////////////////////////
// CBargraphDlg dialog
class CBargraphDlg : public CDialog
{
// Construction
public:
CBargraphDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CBargraphDlg)
enum { IDD = IDD_BARGRAPH_DIALOG };
// NOTE: the ClassWizard will add data members here
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CBargraphDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
private:
CButton* myButton1;
CButton* myButton2;
CButton* myButton3;
CButton* myButton4;
CButton* myButton5;
CButton* myButton6;
CRect rect1;
CRect rect2;
CRect rect3;
CRect rect4;
CRect rect5;
CRect rect6;
int maxHeight;
int deltaHeight;
// Generated message map functions
//{{AFX_MSG(CBargraphDlg)
virtual BOOL OnInitDialog();
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnButton1();
afx_msg void OnButton2();
afx_msg void OnButton3();
afx_msg void OnButton4();
afx_msg void OnButton5();
afx_msg void OnButton6();
afx_msg void OnDestroy();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -