?? mediaserverdlg.h
字號:
// MediaServerDlg.h : header file
//
#if !defined(AFX_MEDIASERVERDLG_H__2B5DD6BF_53C1_4583_B351_134F4A640F4C__INCLUDED_)
#define AFX_MEDIASERVERDLG_H__2B5DD6BF_53C1_4583_B351_134F4A640F4C__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CMediaServerDlg dialog
#define WM_NEW_SOCKET WM_USER+1
#define BASE_SOCKET_PORT 10025
class CListenSocket;
class CWorkerSocket;
class CMediaServerDlg : public CDialog
{
// Construction
public:
CMediaServerDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CMediaServerDlg)
// enum { IDD = IDD_MEDIASERVER_DIALOG };
CStatic m_hostIP;
CStatic m_host;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMediaServerDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
CListenSocket * m_pListener;
CWorkerSocket * m_pWorkerSock;
CString m_strSourceFile;
// Generated message map functions
//{{AFX_MSG(CMediaServerDlg)
virtual BOOL OnInitDialog();
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnDestroy();
afx_msg void OnButtonSelect();
afx_msg void ListenOnConnection();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MEDIASERVERDLG_H__2B5DD6BF_53C1_4583_B351_134F4A640F4C__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -