📄 acsourcedlg.h
字号:
// ACSourceDlg.h : header file
//
#if !defined(AFX_ACSOURCEDLG_H__B0211C7B_6AB5_40B4_9F65_764BD6A4DB72__INCLUDED_)
#define AFX_ACSOURCEDLG_H__B0211C7B_6AB5_40B4_9F65_764BD6A4DB72__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "ComCtrol.h"
#include "Label.h"
/////////////////////////////////////////////////////////////////////////////
// CACSourceDlg dialog
class CACSourceDlg : public CDialog
{
// Construction
public:
bool PassWord();
bool InitCom(void);
void EnableWindows(bool Enable);
CACSourceDlg(CWnd* pParent = NULL); // standard constructor
void DelayTime(DWORD nTime);
// UINT ChangeThread(LPVOID pParam);
DECLARE_DYNCREATE(CACSourceDlg);
bool BeginChange();
// Dialog Data
//{{AFX_DATA(CACSourceDlg)
enum { IDD = IDD_ACSOURCE_DIALOG };
CComboBox m_comboRate;
CComboBox m_comboCom;
CListCtrl m_listShowMessage;
int m_iBeginHZ;
int m_iBeginV;
int m_iCycleNum;
int m_iEndHZ;
int m_iEndV;
long m_lDelay1;
long m_lDelay2;
long m_lDelay3;
CLabel m_labelMessage;
CString g_strDirectory;
int m_iMinute;
int m_iSecond;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CACSourceDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CACSourceDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnButtonModify();
afx_msg void OnButtonSave();
afx_msg void OnButtonBegin();
afx_msg void OnButtonExit();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
protected:
CComCtrol m_comAC;
bool bResult;
bool bConnect;
bool bExit;
// bool bTimeOut;
public:
CWinThread* m_pChangeThread;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_ACSOURCEDLG_H__B0211C7B_6AB5_40B4_9F65_764BD6A4DB72__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -