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
MacProgressCtrl.h
Package: 酒店管理系统源代码.rar [view]
Upload User: czfddz
Upload Date: 2013-03-20
Package Size: 1517k
Code Size: 2k
Category:
Hotel software system
Development Platform:
C/C++
- #if !defined(AFX_MACPROGRESSCTRL_H__603BBF44_B19C_11D3_90FA_0020AFBC499D__INCLUDED_)
- #define AFX_MACPROGRESSCTRL_H__603BBF44_B19C_11D3_90FA_0020AFBC499D__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // MacProgressCtrl.h : header file
- //
- // CMacProgressCtrl class, version 1.0
- //
- // Copyright (c) 1999 Paul M. Meidinger (pmmeidinger@yahoo.com)
- //
- // Feel free to modifiy and/or distribute this file, but
- // do not remove this header.
- //
- // I would appreciate a notification of any bugs discovered or
- // improvements that could be made.
- //
- // This file is provided "as is" with no expressed or implied warranty.
- //
- // History:
- // PMM 12/21/1999 Initial implementation.
- /////////////////////////////////////////////////////////////////////////////
- // CMacProgressCtrl window
- class CMacProgressCtrl : public CProgressCtrl
- {
- // Construction
- public:
- CMacProgressCtrl();
- // Attributes
- public:
- // Operations
- public:
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CMacProgressCtrl)
- //}}AFX_VIRTUAL
- // Implementation
- public:
- BOOL GetIndeterminate();
- void SetIndeterminate(BOOL bIndeterminate = TRUE);
- COLORREF GetColor();
- void SetColor(COLORREF crColor);
- virtual ~CMacProgressCtrl();
- // Generated message map functions
- protected:
- //{{AFX_MSG(CMacProgressCtrl)
- afx_msg void OnPaint();
- afx_msg void OnTimer(UINT nIDEvent);
- afx_msg BOOL OnEraseBkgnd(CDC* pDC);
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- private:
- int m_nIndOffset;
- BOOL m_bIndeterminate;
- void DrawVerticalBar(CDC *pDC, const CRect rect);
- void DrawHorizontalBar(CDC *pDC, const CRect rect);
- void DeletePens();
- void CreatePens();
- CPen m_penColor;
- CPen m_penColorLight;
- CPen m_penColorLighter;
- CPen m_penColorDark;
- CPen m_penColorDarker;
- CPen m_penDkShadow;
- CPen m_penShadow;
- CPen m_penLiteShadow;
- void GetColors();
- COLORREF m_crColor;
- COLORREF m_crColorLight;
- COLORREF m_crColorLighter;
- COLORREF m_crColorLightest;
- COLORREF m_crColorDark;
- COLORREF m_crColorDarker;
- COLORREF m_crDkShadow;
- COLORREF m_crShadow;
- COLORREF m_crLiteShadow;
- };
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_MACPROGRESSCTRL_H__603BBF44_B19C_11D3_90FA_0020AFBC499D__INCLUDED_)