📄 fert2000dlg.h
字号:
// Fert2000Dlg.h : header file
//
#if !defined(AFX_FERT2000DLG_H__67B487A7_3691_11D4_B7E2_0048546B38FA__INCLUDED_)
#define AFX_FERT2000DLG_H__67B487A7_3691_11D4_B7E2_0048546B38FA__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CFert2000Dlg dialog
class CFert2000Dlg : public CDialog
{
// Construction
public:
void FillRtuNo(int iChNo);
CFert2000Dlg(CWnd* pParent = NULL); // standard constructor
CString CurUserName;
bool SysLock;
bool bAdministrator;
CRect SendBufferRect,RecBufferRect;
CSize SendSize,RecSize;
int FontHeight,FontWidth;
CStringArray SendShowStr;
CStringArray RecShowStr;
CDWordArray SendColor;
CDWordArray RecColor;
BYTE CurSendCol,CurSendRow,CurRecCol,CurRecRow;
bool bShowPause;
BYTE DispartRow;//0 不 1 是
BYTE ShowType;//0 全部 1 Rec 2 Send
BYTE CheckOkShow;//0 不 1 是
// Dialog Data
//{{AFX_DATA(CFert2000Dlg)
enum { IDD = IDD_FERT2000_DIALOG };
CComboBox m_ChNo;
CComboBox m_RtuNo;
CString m_Disp;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CFert2000Dlg)
public:
// virtual void OnOK();
// virtual void OnCancel();
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
void InitBufferRect();
void DispBufferData();
void ShowBuffer(int ShowType,bool ReShow=false,BYTE OldSendEnd=0,BYTE OldRecEnd=0);
int m_CurRtuNo;
int m_CurChNo;
int m_ChSelNo;
int m_RtuSelNo;
BYTE ShowStartCode;
BYTE ShowEndCode;
bool ConfirmShow;
// Generated message map functions
//{{AFX_MSG(CFert2000Dlg)
virtual BOOL OnInitDialog();
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnClose();
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnRButtonUp(UINT nFlags, CPoint point);
afx_msg void OnChanvar();
afx_msg void OnSysVar();
afx_msg void OnYcData();
afx_msg void OnCheckChan();
afx_msg void OnUserManage();
afx_msg void OnSysLock();
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg void OnButtonPause();
afx_msg void OnRecwindow();
afx_msg void OnSendwindow();
afx_msg void OnAllwindow();
afx_msg void OnKybit();
afx_msg void OnAllShow();
afx_msg void OnCheckShow();
afx_msg void OnNorowshow();
afx_msg void OnRowshow();
afx_msg void OnRtuCanshu();
afx_msg void OnSortShow();
afx_msg void OnButtonDebug();
afx_msg void OnSelchangeComboChan();
afx_msg void OnSelchangeComboRtuno();
virtual void OnOK();
virtual void OnCancel();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_FERT2000DLG_H__67B487A7_3691_11D4_B7E2_0048546B38FA__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -