📄 chanstatsmalldialog.h
字号:
// ChanStatDialog.h : header file
//
#ifndef CHAN_STAT_SMALL_DIALOG_DEF
#define CHAN_STAT_SMALL_DIALOG_DEF
/////////////////////////////////////////////////////////////////////////////
// CChanStatSmallDialog dialog
#include "answer.h"
#include "StaticBitmap.h"
class CChanStatSmallDialog : public CDialog
{
// Construction
public:
CChanStatSmallDialog(CWnd* pParent = NULL); // standard constructor
CChanStatSmallDialog(UINT id, CWnd* pParent = NULL);
virtual BOOL Create(int chanNum, CWnd* pParent = NULL);
BOOL Create(UINT id, int chanNum, CWnd* pParent = NULL);
// Dialog Data
//{{AFX_DATA(CChanStatSmallDialog)
enum { IDD = IDD_CHANSTAT_SMALL_DIALOG };
CStaticBitmap m_bitmap;
CStatic m_static_color;
CStatic m_static_chan_num;
CString m_chan_num_str;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CChanStatSmallDialog)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
CBrush m_green;
CBrush m_red;
CBrush *m_color;
int m_chan_num;
// Generated message map functions
//{{AFX_MSG(CChanStatSmallDialog)
afx_msg void OnPaint();
virtual BOOL OnInitDialog();
//}}AFX_MSG
afx_msg LPARAM OnDialogicState(WPARAM chanNum, LPARAM state);
afx_msg LPARAM OnDialogicCode(WPARAM chanNum, LPARAM code);
DECLARE_MESSAGE_MAP()
};
#endif // (FILE)_DEF
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -