gamelistdlg.h

来自「网络围棋对战的客户端」· C头文件 代码 · 共 61 行

H
61
字号
#if !defined(AFX_GAMELISTDLG_H__F51AEC82_8A8A_11D5_8FC2_5254AB222310__INCLUDED_)
#define AFX_GAMELISTDLG_H__F51AEC82_8A8A_11D5_8FC2_5254AB222310__INCLUDED_

#include "BitmapButtonEX.h"	// Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// GameListDlg.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CGameListDlg dialog

class CGameListDlg : public CDialog
{
// Construction
public:
	CGameListDlg(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CGameListDlg)
	enum { IDD = IDD_DIALOGLISTGAME };
	CListBox	m_GameList;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CGameListDlg)
	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(CGameListDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnButtonYes();
	afx_msg void OnButtonCancel();
	afx_msg void OnButtonFlash();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	CBitmapButtonEX		m_JoinButton;
	CBitmapButtonEX		m_CancelButton;
	CBitmapButtonEX		m_FlashButton;
	CToolTipCtrl		m_Tip;
public:
	void SetListBox(PTSTR pMsg);
	CString m_Select;
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_GAMELISTDLG_H__F51AEC82_8A8A_11D5_8FC2_5254AB222310__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?