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
ProgBar.h
Package: VC++ProgressControl.rar [view]
Upload User: nhyuejuan
Upload Date: 2013-12-02
Package Size: 171k
Code Size: 1k
Category:
StatusBar
Development Platform:
Visual C++
- ////////////////////////////////////////////////////////////////
- // MSDN Magazine -- January 2003
- // If this code works, it was written by Paul DiLascia.
- // If not, I don't know who wrote it.
- // Compiles with VC 6.0 or VS.NET on Windows XP. Tab size=3.
- //
- #pragma once
- //////////////////
- // Status bar with progress control.
- //
- class CProgStatusBar : public CStatusBar {
- public:
- CProgStatusBar();
- virtual ~CProgStatusBar();
- CProgressCtrl& GetProgressCtrl() {
- return m_wndProgBar;
- }
- void OnProgress(UINT pct);
- protected:
- CProgressCtrl m_wndProgBar; // the progress bar
- afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
- afx_msg void OnSize(UINT nType, int cx, int cy);
- DECLARE_MESSAGE_MAP()
- DECLARE_DYNAMIC(CProgStatusBar)
- };