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
UiTongAssignBox.h
Package: SwordOnline.rar [view]
Upload User: dzyhzl
Upload Date: 2019-04-29
Package Size: 56270k
Code Size: 3k
Category:
Game Server Simulator
Development Platform:
C/C++
- /*******************************************************************************
- File : UiTongAssignBox.h
- Creator : Fyt(Fan Zhanpeng)
- create data : 08-29-2003(mm-dd-yyyy)
- Description : 任命帮会职位的界面
- ********************************************************************************/
- #if !defined(AFX_UITONGASSIGNBOX_H__1D36E55C_C9D4_44AF_8E20_0FF51BDB2BE0__INCLUDED_)
- #define AFX_UITONGASSIGNBOX_H__1D36E55C_C9D4_44AF_8E20_0FF51BDB2BE0__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- #include "../elem/wndlabeledbutton.h"
- #include "../elem/WndPureTextBtn.h"
- #include "../elem/wndimage.h"
- #include "../elem/wndtext.h"
- class KUiTongAssignBox : public KWndImage
- {
- public:
- KUiTongAssignBox();
- virtual ~KUiTongAssignBox();
- static KUiTongAssignBox* OpenWindow(); //打开窗口
- static KUiTongAssignBox* GetIfVisible(); //如果窗口正被显示,则返回实例指针
- static void CloseWindow(bool bDestory = TRUE);//关闭窗口,同时可以选则是否删除对象实例
- static void LoadScheme(const char* pScheme); //载入界面方案
- public:
- static void LinkToMainWindow( //建立这个界面和主界面的关联
- KWndWindow *pMain);
- static void ArrangeData( //为任命案的书写安排数据
- int nType, char* szTarName, char* szTarAgName, int nCurrentFigure, int nCurrentPosition = 0);
- virtual int WndProc(unsigned int uMsg, unsigned int uParam, int nParam);
- private:
- static KUiTongAssignBox* ms_pSelf;
- private:
- void PopupConfirmWindow( //弹出确认窗口
- const char* pszInfo, unsigned int uHandleID);
- void UpdateCheckButton(int nFigure); //Check管理函数
- void Initialize();
- void OnConfirm(); //响应确认操作
- private:
- enum RESULT_TYPE
- {
- RESULT_T_ASSIGN,
- };
- private:
- KWndPureTextBtn m_BtnElder;
- KWndPureTextBtn m_BtnCaptain;
- KWndPureTextBtn m_BtnPilgarlic;
- KWndPureTextBtn m_BtnConfirm;
- KWndPureTextBtn m_BtnCancel;
- KWndText80 m_TargetName;
- KWndText80 m_TextError;
- KWndWindow *m_pMain;
- private:
- int m_nType, m_nCurrentFigure, m_nCurrentPostion;
- char m_szTargetPlayerName[32], m_szTargetPlayerAgName[32];
- char m_szAssign[64], m_szConfirm[8], m_szCancel[8];
- int m_nSelectFigure;
- char m_szErrorNotSelectFigure[32];
- };
- #endif // !defined(AFX_UITONGASSIGNBOX_H__1D36E55C_C9D4_44AF_8E20_0FF51BDB2BE0__INCLUDED_)