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
WHWindow.h
Package: Mir2ExCodev1.rar [view]
Upload User: cydong117
Upload Date: 2009-11-10
Package Size: 638k
Code Size: 2k
Category:
Game Server Simulator
Development Platform:
Visual C++
- #ifndef _WINDHORN_WINDOW
- #define _WINDHORN_WINDOW
- /******************************************************************************************************************
- CWHApp Class Declaration
- *******************************************************************************************************************/
- class CWHApp
- {
- public:
- //1: Constuctor/Destructor
- CWHApp();
- ~CWHApp();
- //2: Variables
- protected:
- HINSTANCE m_hInstance;
- __inline VOID SethInstance(HINSTANCE hInst) { m_hInstance = hInst; }
- //3: Methods
- public:
- __inline HINSTANCE GetSafehInstance() { return m_hInstance; }
- //4: Message Map
- virtual LRESULT MainWndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
- };
- /******************************************************************************************************************
- CWHWindow Class Declaration
- *******************************************************************************************************************/
- class CWHWindow : public CWHApp
- {
- //1: Constuctor/Destructor
- public:
- CWHWindow();
- ~CWHWindow();
- //2: Variables
- protected:
- HWND m_hWnd;
- //3: Methods
- BOOL RegisterClass(CHAR* pszMenuName, CHAR* pszIconName);
- public:
- BOOL Create(HINSTANCE hInst, LPTSTR lpCaption = NULL, CHAR* pszMenuName = NULL, CHAR* pszIconName = NULL);
- __inline HWND GetSafehWnd() { return m_hWnd; }
- //4: Message Map
- virtual LRESULT MainWndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
- virtual LRESULT OnDestroy();
- };
- #endif //_WINDHORN_WINDOW