home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD Direkt 1995 #6
/
CDD_6_95.ISO
/
cdd
/
winanw
/
bartest
/
sample1
/
bardoc.h
< prev
next >
Wrap
C/C++ Source or Header
|
1994-11-07
|
1KB
|
58 lines
// bardoc.h : interface of the CBarDoc class
//
/////////////////////////////////////////////////////////////////////////////
// (c) Copyright 1994 HEX TECHNOLOGY. All rights reserved.
// This sample code is provided as a example implementation
// using barcodes.dll. You may only distribute or modify this
// code if you purchase a license for barcodes.dll.
class CBarDoc : public CDocument
{
protected: // create from serialization only
CBarDoc();
DECLARE_DYNCREATE(CBarDoc)
// Attributes
public:
CString m_sData;
CString m_sText;
WORD m_iDisplayFlags;
CString m_sFontFace;
BOOL m_bBold;
BOOL m_bItalic;
COLORREF m_cBarColor;
COLORREF m_cBackgroundColor;
WORD m_iStyle;
WORD m_iRatio;
WORD m_iFontAdjust;
WORD m_iHeight;
WORD m_iWidth;
// Operations
public:
// Implementation
public:
virtual ~CBarDoc();
virtual void Serialize(CArchive& ar); // overridden for document i/o
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
virtual BOOL OnNewDocument();
// Generated message map functions
protected:
//{{AFX_MSG(CBarDoc)
// NOTE - the ClassWizard will add and remove member functions here.
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////