📄 mfcdlg.h
字号:
// MFCDlg.h : header file
//
#if !defined(AFX_MFCDLG_H__19E8AD29_2563_4C05_BFA7_1BD0A6EA4BCF__INCLUDED_)
#define AFX_MFCDLG_H__19E8AD29_2563_4C05_BFA7_1BD0A6EA4BCF__INCLUDED_
#include "Create.h" // Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CMFCDlg dialog
class CMFCDlg : public CDialog
{
// Construction
public:
//void DrawTitleBar(CDC *pDC);
CRect m_rtButtExit;
CRect m_rtIcon;
CCreate server;
void AddTray();
SOCKET FindSocket(CString* str);
CString CurID;
BOOL StartService(SOCKET sock);
void AddLocalIPToList();
CMFCDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CMFCDlg)
enum { IDD = IDD_MFC_DIALOG };
CListCtrl m_List;
CComboBox m_LocalIPList;
CEdit m_CEditPort;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMFCDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//virtual LRESULT DefWindowProc(UINT message, WPARAM wParam, LPARAM lParam);
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CMFCDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnClickList(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnButtonStart();
afx_msg void OnButtonStop();
afx_msg void OnActiveFuc();
afx_msg void OnClose();
//afx_msg void OnDisplayFunc();
//afx_msg void OnNDisplayFunc();
afx_msg void OnQuitFunc();
afx_msg void OnRclickList(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnCreate();
afx_msg void OnAboutbox();
//}}AFX_MSG
afx_msg void OnTrayPro(WPARAM uID, LPARAM lEvent);
DECLARE_MESSAGE_MAP()
private:
BOOL bQuit;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MFCDLG_H__19E8AD29_2563_4C05_BFA7_1BD0A6EA4BCF__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -