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
OAMFLATBUTTON.H
Package: SNMP_source.rar [view]
Upload User: lvjun8202
Upload Date: 2013-04-30
Package Size: 797k
Code Size: 2k
Category:
SNMP
Development Platform:
C/C++
- #if !defined(AFX_OAMFLATBUTTON_H__112ECEE3_0C04_11D3_BAAE_12345600558E__INCLUDED_)
- #define AFX_OAMFLATBUTTON_H__112ECEE3_0C04_11D3_BAAE_12345600558E__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // OAMFlatButton.h : header file
- //
- /////////////////////////////////////////////////////////////////////////////
- // COAMFlatButton window
- class COAMFlatButton : public CButton
- {
- // Construction
- public:
- COAMFlatButton();
- // Attributes
- public:
- protected:
- UINT m_nState;
- CRect m_rcItem;
- BOOL m_bLBtnDown;
- BOOL m_bFlatLook;
- CSize m_sizeIcon;
- COLORREF m_clrHilite;
- COLORREF m_clrShadow;
- COLORREF m_clrDkShad;
- COLORREF m_clrNormal;
- COLORREF m_clrTextGy;
- COLORREF m_clrTextNm;
- BOOL m_bPainted;
- // Operations
- public:
- void DisableFlatLook() { m_bFlatLook = FALSE; }
- void SetIcon(HICON hIcon, CSize size);
- protected:
- virtual void DrawIcon(CDC* pDC);
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(COAMFlatButton)
- public:
- virtual void DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct);
- //}}AFX_VIRTUAL
- // Implementation
- public:
- virtual ~COAMFlatButton();
- // Generated message map functions
- protected:
- //{{AFX_MSG(COAMFlatButton)
- afx_msg void OnMouseMove(UINT nFlags, CPoint point);
- afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
- afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
- afx_msg void OnTimer(UINT nIDEvent);
- afx_msg void OnSysColorChange();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_OAMFLATBUTTON_H__112ECEE3_0C04_11D3_BAAE_12345600558E__INCLUDED_)