📄 connectdlg.h
字号:
#if !defined(AFX_CONNECTDLG_H__E2010125_7BA3_11D5_8FC2_5254AB222310__INCLUDED_)
#define AFX_CONNECTDLG_H__E2010125_7BA3_11D5_8FC2_5254AB222310__INCLUDED_
#include "BitmapButtonEX.h" // Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ConnectDlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CConnectDlg dialog
class CClient;
class CConnectDlg : public CDialog
{
// Construction
public:
CClient* m_pClient;
CConnectDlg(CClient* pClient,CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CConnectDlg)
enum { IDD = IDD_DIALOGCONNECT };
CString m_IPEdit;
UINT m_PortEdit;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CConnectDlg)
public:
virtual BOOL PreTranslateMessage(MSG* pMsg);
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CConnectDlg)
afx_msg void OnButtonCancel();
afx_msg void OnButtonConnect();
virtual BOOL OnInitDialog();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
CBitmapButtonEX m_ConnectButton;
CBitmapButtonEX m_ExitButton;
CToolTipCtrl m_Tip;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_CONNECTDLG_H__E2010125_7BA3_11D5_8FC2_5254AB222310__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -