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
ProcessBar.h
Package: 3dexplorerTest.rar [view]
Upload User: hkb425
Upload Date: 2007-06-16
Package Size: 34191k
Code Size: 1k
Category:
Game Engine
Development Platform:
Visual C++
- // ProcessBar.h: interface for the CProcessBar class.
- //
- //////////////////////////////////////////////////////////////////////
- #if !defined(AFX_PROCESSBAR_H__0783BE61_A713_11D6_814D_5254AB37CDC9__INCLUDED_)
- #define AFX_PROCESSBAR_H__0783BE61_A713_11D6_814D_5254AB37CDC9__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- #include "graphbutton.h"
- class CProcessBar : public CGraphButton
- {
- public:
- CProcessBar();
- virtual ~CProcessBar();
- void SetProcessBar(RECT rect,int iMaxValue=100,int iMinValue=0,
- int curValue=0,bool bHorz=true,int style=0);
- void SetMaxMinValue(int iMaxValue,int iMinValue);
- void SetValue(int iValue);
- void SetBlockWidth(int width);
- void RenderProcessBar();
- int m_iValue;
- int m_iMaxValue;
- int m_iMinValue;
- private:
- void UpdateProcessBar();
- void DrawBlock(RECT rect);
- bool m_bHorz;
- int m_iStyle;
- int m_iBlockWidth;
- };
- #endif // !defined(AFX_PROCESSBAR_H__0783BE61_A713_11D6_814D_5254AB37CDC9__INCLUDED_)