searchdlg.h

来自「F340+CP2200的汉化版NETFINDER源代码,增加了串口设置」· C头文件 代码 · 共 67 行

H
67
字号
#if !defined(AFX_SEARCHDLG_H__28884805_778E_460C_A59C_73C7AF8D54B5__INCLUDED_)
#define AFX_SEARCHDLG_H__28884805_778E_460C_A59C_73C7AF8D54B5__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// SearchDlg.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CSearchDlg dialog

class CSearchDlg : public CDialog
{
// Construction
public:
	bool m_networkerror;
	void ResendBroadcast();
	void ReceivePacket();
	CSearchDlg(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CSearchDlg)
	enum { IDD = IDD_SEARCHDLG_DIALOG };
	CButton	m_stop_button;
	CButton	m_ok_button;
	CProgressCtrl	m_progress;
	CString	m_progress_text;
	CString	m_devicesfound_text;
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CSearchDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnOK();
	afx_msg void OnDestroy();
	virtual void OnCancel();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()


private:
	int m_interval;
	unsigned short m_rand;
	int m_devicesfound;
	void SendBroadcast();
		

};

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

#endif // !defined(AFX_SEARCHDLG_H__28884805_778E_460C_A59C_73C7AF8D54B5__INCLUDED_)

⌨️ 快捷键说明

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