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
caption.h
Package: iconizer.zip [view]
Upload User: songshun
Upload Date: 2007-01-04
Package Size: 51k
Code Size: 2k
Category:
Button control
Development Platform:
Visual C++
- //===========================================================================
- //
- // HomeWork from Belgium Not licensed software
- // 1999 - 2000 No rights reserved
- //
- //===========================================================================
- //
- // Project/Product : Iconizer DLL
- // FileName : caption.h
- // Author(s) : Bart Gysens
- //
- // Description : Declaration of caption related functionality
- //
- // Classes : CCaptionRect
- //
- // Information :
- // Compiler(s) : Visual C++ 6.0
- // Target(s) : Windows 95/98 and Windows NT (x86)
- // Editor : Visual C++ 6.0 internal editor
- //
- // History
- // Vers. Date Aut. Type Description
- // ----- -------- ---- ------- -----------------------------------------
- // 1.00 22 05 99 BG Create Original
- //
- //===========================================================================
- #ifndef _CAPTION_H_INCLUDED__
- #define _CAPTION_H_INCLUDED__
- //===========================================================================
- // Macros and typedefs
- //===========================================================================
- //===========================================================================
- //
- // Class : CCaptionRect
- // Author(s) : Bart Gysens
- //
- // Description : Declaration of the CCaptionRect class
- //
- // Comments : none
- //
- // History : 1.00 : Create
- //
- //===========================================================================
- class CCaption
- {
- // Member functions
- public:
- CCaption();
- protected:
- void CalcCaptionRect( HWND hWnd, RECT& Rect );
- void DrawIconize ( HDC hDc, int x, int y, int off );
- void DrawButtons ( HWND hWnd );
- public:
- void OnNcActivate ( HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam, CHookItem * pItem );
- void OnNcPaint ( HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam, CHookItem * pItem );
- void OnSetText ( HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam, CHookItem * pItem );
- void OnNcLButtonDown( HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam, CHookItem * pItem );
- void OnNcLButtonUp ( HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam, CHookItem * pItem );
- void OnNcMouseMove ( HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam, CHookItem * pItem );
- };
- #endif // _CAPTION_H_INCLUDED__