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
Filler.h
Package: strategy.zip [view]
Upload User: xrc9201
Upload Date: 2013-02-04
Package Size: 35k
Code Size: 1k
Category:
SourceCode/Document
Development Platform:
Visual C++
- #ifndef _FILLER
- #define _FILLER
- #include "stdafx.h"
- // List of predefined constants
- #ifndef SUCCESS
- #define SUCCESS 0
- #endif
- #ifndef FAILURE
- #define FAILURE -1
- #endif
- // Class CFiller for filling a rectangle
- class CFiller
- {
- // Constructor and Destructor
- public :
- CFiller();
- virtual ~CFiller();
- // Services
- public :
- INT SetFillerText( LPCSTR );
- INT SetFillerRange( INT, INT );
- INT SetFillerPos( INT );
- INT GetFillerPos();
- COLORREF SetFillerColor( COLORREF & );
- COLORREF SetFillerBkColor( COLORREF & );
- COLORREF SetFillerTextColor( COLORREF & );
- virtual INT DoFill( CWnd *, const CRect & ) = 0;
- // Attributes
- protected :
- CString m_csText;
- INT m_nMinVal;
- INT m_nMaxVal;
- INT m_nPos;
- COLORREF m_FillerColor;
- COLORREF m_FillerBkColor;
- COLORREF m_FillerTextColor;
- };
- // Class CLToRFiller for Left to Right Filler
- class CLToRFiller : public CFiller
- {
- // Constructor and Destructor
- public :
- CLToRFiller();
- virtual ~CLToRFiller();
- // Services
- public :
- virtual INT DoFill( CWnd *, const CRect & );
- };
- // Class CRToLFiller for Right to Left Filler
- class CRToLFiller : public CFiller
- {
- // Constructor and Destructor
- public :
- CRToLFiller();
- virtual ~CRToLFiller();
- // Services
- public :
- virtual INT DoFill( CWnd *, const CRect & );
- };
- #endif