📄 yhjkdlg.h
字号:
// yhjkDlg.h : header file
//
//{{AFX_INCLUDES()
#include "mscomm.h"
//}}AFX_INCLUDES
#if !defined(AFX_YHJKDLG_H__377BF31F_523F_410F_814C_919900D36BA6__INCLUDED_)
#define AFX_YHJKDLG_H__377BF31F_523F_410F_814C_919900D36BA6__INCLUDED_
#include "Wave.h"
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "BaseButton.h"
/////////////////////////////////////////////////////////////////////////////
// CMainDlg dialog
class CMainDlg : public CDialog
{
// Construction
public:
void Close();
CMainDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CMainDlg)
enum { IDD = IDD_YHJK_DIALOG };
CBaseButton m_ButCs;
CBaseButton m_ButXtgl;
CBaseButton m_ButRzgl;
CBaseButton m_ButCjcssz;
CBaseButton m_ButCkszsz;
CBaseButton m_ButBjdzsz;
CBaseButton m_ButBfcssz;
CMSComm m_Com;
CMSComm m_OutPutCom;
CWave m_wav;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMainDlg)
public:
virtual BOOL DestroyWindow();
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CMainDlg)
virtual BOOL OnInitDialog();
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
virtual void OnOK();
afx_msg void OnButBfcssz();
afx_msg void OnButCjcssz();
afx_msg void OnButBjdzsz();
afx_msg void OnExit();
afx_msg void OnButCksxsz();
afx_msg void OnButRzgl();
afx_msg void OnClose();
virtual void OnCancel();
afx_msg void OnHide();
afx_msg void OnSet();
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnCom();
afx_msg void OnButXtgl();
afx_msg void OnButCs();
DECLARE_EVENTSINK_MAP()
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
afx_msg void OnTray(WPARAM wParam ,LPARAM lParam);
private:
void Tel(CString TelNumber);
void InPutPort(CString sSend);
void Bell(CString sBellName);
CString m_Message[100];
CString m_TimeMessage[100];
int m_Subscript;
bool m_IsTimeRun;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_YHJKDLG_H__377BF31F_523F_410F_814C_919900D36BA6__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -