📄 initset.h
字号:
#if !defined(AFX_INITSET_H__CED8AED6_5D1A_4B9F_BE0B_AC76C9B40CC6__INCLUDED_)
#define AFX_INITSET_H__CED8AED6_5D1A_4B9F_BE0B_AC76C9B40CC6__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// InitSet.h : header file
//
//#include "MySock.h"
/////////////////////////////////////////////////////////////////////////////
// CInitSet dialog
#include "MyButton.h"
class CInitSet : public CDialog
{
private:
CRect rectLarge;
CRect rectSmall;
int m_nFace;
CBrush m_Brush[4];
// Construction
public:
CInitSet(CWnd* pParent = NULL); // standard constructor
int iGameType;
BOOL bIsCreateGame;
CString m_strIP;
// Dialog Data
//{{AFX_DATA(CInitSet)
enum { IDD = IDD_DIALOG_INITSET };
CMyButton m_BtnCancle;
CMyButton m_BtnSure;
CIPAddressCtrl m_IPAddress;
CStatic m_Face;
CScrollBar m_Scroll;
CString m_PlayerName;
UINT m_Port;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CInitSet)
public:
virtual BOOL Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext = NULL);
virtual CScrollBar* GetScrollBarCtrl(int nBar) const;
virtual void OnSetFont(CFont* pFont);
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CInitSet)
afx_msg void OnRadioNetbattle();
afx_msg void OnRadioMantomachine();
afx_msg void OnRadioCreate();
afx_msg void OnRadioJoin();
virtual BOOL OnInitDialog();
afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
virtual void OnOK();
virtual void OnCancel();
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
afx_msg void OnRadioJoinplayroom();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_INITSET_H__CED8AED6_5D1A_4B9F_BE0B_AC76C9B40CC6__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -