Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
ChatEditBox.h
Package: Mir2ExCodev1.rar [view]
Upload User: cydong117
Upload Date: 2009-11-10
Package Size: 638k
Code Size: 1k
Category:
Game Server Simulator
Development Platform:
Visual C++
- /******************************************************************************************************************
- 葛碘疙:
- 累己磊:
- 累己老:
- [老磊][荐沥磊] : 荐沥 郴侩
- *******************************************************************************************************************/
- #ifndef _CHATEDITBOX_H
- #define _CHATEDITBOX_H
- class CChatEdit
- {
- //1: Constructor/Destructor
- public:
- CChatEdit();
- ~CChatEdit();
- protected:
- HWND m_hChatEdit;
- HWND m_hMainWindow;
- HFONT m_hFontChatEdit;
- DWORD m_dwFontColor;
- WNDPROC m_WndProcChatEdit;
- public:
- CHAR m_szInputMsg[MAX_PATH];
- __inline HWND GetSafehWnd() { return m_hChatEdit; }
- BOOL Create(HINSTANCE hInstance, HWND hWndParent, INT nX, INT nY, INT nXsize, INT nYSize);
- BOOL DestroyDialog();
- BOOL SetLimitText(INT nLimitText);
- __inline VOID SetSelectAll() { SendMessage(m_hChatEdit, EM_SETSEL, 0, (LPARAM)-1); }
- public:
- //4: Message Map
- virtual LRESULT CALLBACK ChatEditProc(HWND hWndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
- public:
- };
- #endif // _CHATEDITBOX