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
DataDisplay.h
Package: pciexp.zip [view]
Upload User: zhuqijet
Upload Date: 2007-01-04
Package Size: 138k
Code Size: 1k
Category:
Driver Develop
Development Platform:
Visual C++
- // DataDisplay.h : header file
- //
- /////////////////////////////////////////////////////////////////////////////
- // CDataDisplay window
- class CDataDisplay : public CListBox
- {
- // Construction
- public:
- CDataDisplay();
- int AddString(DWORD value) { return CListBox::AddString((LPCTSTR)value); }
- // Attributes
- public:
- // Operations
- public:
- UINT SetFormat(UINT fmt) {UINT old = format; format = fmt; InvalidateRect(NULL); return old; }
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CDataDisplay)
- public:
- virtual void DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct);
- //}}AFX_VIRTUAL
- // Implementation
- public:
- virtual ~CDataDisplay();
- // Generated message map functions
- protected:
- int col1;
- UINT format;
- //{{AFX_MSG(CDataDisplay)
- // NOTE - the ClassWizard will add and remove member functions here.
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- #define DISPLAY_HEX_BYTES 0
- #define DISPLAY_HEX_WORDS 1
- #define DISPLAY_HEX_DWORDS 2
- #define DISPLAY_DECIMAL_BYTES 3
- #define DISPLAY_DECIMAL_WORDS 4
- #define DISPLAY_DECIMAL_DWORDS 5
- #define DISPLAY_ANSI_CHARACTERS 6
- #define DISPLAY_UNICODE_CHARACTERS 7
- /////////////////////////////////////////////////////////////////////////////