📄 lxserverdlg.h
字号:
// LXServerDlg.h : header file
//
#if !defined(AFX_LXSERVERDLG_H__881D40D1_390E_4F3E_8460_9CEBB68D8237__INCLUDED_)
#define AFX_LXSERVERDLG_H__881D40D1_390E_4F3E_8460_9CEBB68D8237__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "LCItemNode.h"
#include "btnst.h"
/////////////////////////////////////////////////////////////////////////////
// CLXServerDlg dialog
class CLXServerDlg : public CDialog
{
// Construction
public:
CLXServerDlg(CWnd* pParent = NULL); // standard constructor
CButtonST m_bstStop;
CButtonST m_bstStart;
CButtonST m_bstMin;
CButtonST m_bstExit;
CButtonST m_bstCK2;
CButtonST m_bstCK1;
// Dialog Data
//{{AFX_DATA(CLXServerDlg)
enum { IDD = IDD_LXSERVER_DIALOG };
BOOL m_flag1;
BOOL m_flag2;
CString m_strFileName;
UINT m_seek;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CLXServerDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
public:
// Initial server
BOOL ServerSocketInit(UINT uPort);
BOOL OnReadData(DWORD dwEvent);
SOCKET m_soListen;
WSAEVENT m_EventArray;
char m_byBuf[NET_DATA_FRAME_LEN + NET_DATA_FRAME_HEADLEN];
WSABUF m_wsaRecvBuf;
DWORD m_dwRecvBytes;
HANDLE m_hNetThread;
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CLXServerDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnBtnStart();
afx_msg void OnBtnStop();
virtual void OnOK();
virtual void OnCancel();
afx_msg BOOL OnEraseBkgnd(CDC* pDC);
afx_msg void OnBtnExit();
afx_msg void OnCheck1();
afx_msg void OnCheck2();
afx_msg void OnBtnMin();
afx_msg void OnButton4();
afx_msg void OnButton1();
afx_msg void OnButton2();
afx_msg void OnButton3();
afx_msg void OnButton5();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_LXSERVERDLG_H__881D40D1_390E_4F3E_8460_9CEBB68D8237__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -