📄 searchdlg.h
字号:
#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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -