⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 workdlg.h

📁 蓝牙开发的源程序
💻 H
字号:
// workDlg.h : header file
//
//{{AFX_INCLUDES()
#include "mscomm.h"
//}}AFX_INCLUDES

#if !defined(AFX_WORKDLG_H__AE1C04E7_52AD_11D6_B52D_0000E242E853__INCLUDED_)
#define AFX_WORKDLG_H__AE1C04E7_52AD_11D6_B52D_0000E242E853__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "afxpriv.h"
/////////////////////////////////////////////////////////////////////////////
// CWorkDlg dialog

class CWorkDlg : public CDialog
{
// Construction
public:
	CString ExtractStr(CString str,int& position);
	void Initialize();
	int String2Hex(CString str, CByteArray &senddata);
	int ConvertHexChar(char ch);
	CWorkDlg(CWnd* pParent = NULL);	// standard constructor
    CStringArray strarray;
    int count;
    CString strsum,address,linkhandle; 
	int strposition;
 
// Dialog Data
	//{{AFX_DATA(CWorkDlg)
	enum { IDD = IDD_WORK_DIALOG };
	CMSComm	m_mscomm;
	CString	m_editsend;
	CString	m_editaccept;

	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CWorkDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CWorkDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnButtonSend();
	afx_msg void OnOnCommMscomm1();
	afx_msg void OnButtonInitialize();
	virtual void OnCancel();
	afx_msg void OnButtonCleardata();
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnButtonInquire();
	afx_msg void OnButtonConnect();
	DECLARE_EVENTSINK_MAP()
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_WORKDLG_H__AE1C04E7_52AD_11D6_B52D_0000E242E853__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -