⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 chatdialog.h

📁 墨香最新私服
💻 H
字号:
// ChatDialog.h: interface for the CChatDialog class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_CHATDIALOG_H__0EB53C8B_A556_4FC0_9D50_99DA6BCEC48B__INCLUDED_)
#define AFX_CHATDIALOG_H__0EB53C8B_A556_4FC0_9D50_99DA6BCEC48B__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "./Interface/cDialog.h"

class cEditBox;
class cPushupButton;
class cListDialog;

enum 
{
	WHOLE,
	PARTY,
	MUNPA,
	MAX_CHAT_COUNT,
};

#define CHATLIST_TEXTLEN	65

class CChatDialog  : public cDialog
{

protected:

	cEditBox*		m_pChatEditBox;

	cListDialog*	m_pSheet[MAX_CHAT_COUNT];
	cPushupButton*	m_pPBMenu[MAX_CHAT_COUNT];

	int				m_nCurSheetNum;

	LONG			m_lMenuX;
	LONG			m_lMenuY;
	LONG			m_lMenuHeight;
	
	BOOL			m_bShowMenu;
	BOOL			m_bHideChatDialog;
	
	BOOL			m_bShowMunpaTab;
	

public:

	CChatDialog();
	virtual ~CChatDialog();

	void Linking();
	virtual DWORD ActionEvent( CMouse * mouseInfo );
	void AddMsg( BYTE ChatLimit, DWORD MsgColor, char* str );
	void AddMsgAll( DWORD MsgColor, char* str );
	void OnActionEvent(LONG lId, void * p, DWORD we);

	cEditBox* GetChatEditBox() { return m_pChatEditBox;	}

	cListDialog* GetSheet( int nSheet ) { return m_pSheet[nSheet]; }
	int	GetCurSheetNum()				{ return m_nCurSheetNum; }
	BYTE GetLineNum();

	void ShowMenu( BOOL bShow );
	void SelectMenu( int nSheet );

	void HideChatDialog( BOOL bHide );

	void ShowMunpaTab( BOOL bShow );


};



/*
class CChatDialog  : public cTabDialog
{
public:
	CChatDialog();
	virtual ~CChatDialog();
	virtual void Add(cWindow * window);
	void Linking();
	
	void AddMsg( BYTE ChatLimit, DWORD MsgColor, char* str );
	void OnActionEvent(LONG lId, void * p, DWORD we);

	cEditBox* GetChatEditBox() { return m_pChatEditBox;	}

protected:

	cEditBox*		m_pChatEditBox;

};
*/


#endif // !defined(AFX_CHATDIALOG_H__0EB53C8B_A556_4FC0_9D50_99DA6BCEC48B__INCLUDED_)

⌨️ 快捷键说明

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