📄 topbardlg.h
字号:
/*******************************************************************************
TopBarDlg.h
游戏的顶部对话框
*******************************************************************************/
/*
================================================================================
Copyright (c) 2002 GameHigh Group.
本程序修改自GAMEHIGH(open source)[http://www.gamehigh.net]项目程序,在此表示感谢紫瑗、骑士、阿鬼等。
email: wantsoft@163.com
这一程序是自由软件,你可以遵照自由软件基金会出版的GNU 通用公共许可证条款来修改和
重新发布这一程序。或者用许可证的第二版,或者(根据你的选择)用任何更新的版本。
发布这一程序的目的是希望它有用,但没有任何担保。甚至没有适合特定目地的隐含的担保。
更详细的情况请参阅GNU通用公共许可证。
你应该已经和程序一起收到一份GNU通用公共许可证的副本。如果还没有,写信给:
The Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA02139, USA
或访问 http://www.gnu.org
文件版本:
0.0.1
Build 020705
Date 2002-07-05
修改历史:
2002-07-05
创建文件
*/
#if !defined(AFX_TOPBARDLG_H__669DA305_F68B_486B_96B8_C7AFAF0EF696__INCLUDED_)
#define AFX_TOPBARDLG_H__669DA305_F68B_486B_96B8_C7AFAF0EF696__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// topbardlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CTopBarDlg dialog
#include "ShowIpWnd.h"
#include "PictureEx.h"
#include "GameHighButton.h"
class CTopBarDlg : public CDialog
{
// Construction
public:
CTopBarDlg(CWnd* pParent = NULL); // standard constructor
~CTopBarDlg();
// Dialog Data
//{{AFX_DATA(CTopBarDlg)
enum { IDD = IDD_TITLEBAR };
CGameHighButton m_DelAccount;
CGameHighButton m_HelpInfo;
CGameHighButton m_ModifyInfo;
CGameHighButton m_QuitGame;
CGameHighButton m_Public;
CGameHighButton m_NetworkTool;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CTopBarDlg)
public:
virtual BOOL Create(CWnd* pParentWnd);
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CTopBarDlg)
afx_msg void OnPaint();
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg void OnQuitgame();
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
afx_msg BOOL OnEraseBkgnd(CDC* pDC);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
/*
* 函数名称:CServerTreeView ::FixButtonSize
* 函数描述:固定所有按钮的位置
* 输入参数:pWnd, 按钮指针; ptStart, 起点; nwidth, nheight,宽度和高度
* 输出参数:void
* 返回值 :void
*/
void FixButtonSize(CWnd* pWnd, POINT& ptStart, int nwidth, int nheight);
private: //对象
CShowIpWnd m_wndShowIpWnd; //IP显示窗口
CPictureEx m_wndAdvertWnd; //Gif广告窗口
HBRUSH hBkBrush; //背景窗口
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_TOPBARDLG_H__669DA305_F68B_486B_96B8_C7AFAF0EF696__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -