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
UiMsgSel.h
Package: SwordOnline.rar [view]
Upload User: dzyhzl
Upload Date: 2019-04-29
Package Size: 56270k
Code Size: 1k
Category:
Game Server Simulator
Development Platform:
C/C++
- // -------------------------------------------------------------------------
- // 文件名 : UiMsgSel.h
- // 创建者 : Wooy(Wu yue)
- // 创建时间 : 2003-1-6
- // 功能描述 : 带滚动条的消息选择
- // -------------------------------------------------------------------------
- #ifndef __UiMsgSel_H__
- #define __UiMsgSel_H__
- #include "../Elem/WndMessageListBox.h"
- #include "../Elem/WndShowAnimate.h"
- #include "../Elem/WndScrollBar.h"
- #include "../Elem/WndText.h"
- struct KUiQuestionAndAnswer;
- class KUiMsgSel : protected KWndShowAnimate
- {
- public:
- //----界面面板统一的接口函数----
- static KUiMsgSel* OpenWindow(KUiQuestionAndAnswer* pContent); //打开窗口,返回唯一的一个类对象实例
- static KUiMsgSel* GetIfVisible();
- static void LoadScheme(const char* pScheme); //载入界面方案
- static void CloseWindow(bool bDestroy); //关闭窗口
- private:
- KUiMsgSel() {}
- ~KUiMsgSel() {}
- void Show(KUiQuestionAndAnswer* pContent);
- int Initialize(); //初始化
- int WndProc(unsigned int uMsg, unsigned int uParam, int nParam);
- void OnClickMsg(int nMsg); //响应点击消息
- void ChangeCurSel(bool bNext);
- virtual void Breathe();
- private:
- static KUiMsgSel* m_pSelf;
- KScrollMessageListBox m_MsgScrollList; //备选文字和滚动条
- KWndText512 m_InfoText; //说明文字
- //为自动滚动加的变量
- bool m_bAutoUp;
- bool m_bAutoDown;
- unsigned int m_uLastScrollTime;
- };
- #endif // __UiMsgSel_H__