home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Troubleshooting Netware Systems
/
CSTRIAL0196.BIN
/
attach
/
msj
/
v10n04
/
olecont.exe
/
CONTDOC.H
< prev
next >
Wrap
C/C++ Source or Header
|
1995-04-01
|
3KB
|
89 lines
// contdoc.h : interface of the CContainerDoc class
//
/////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
// definitions
#define MAX_STD_APROP_CT (32)
#define MAX_NONSTD_APROP_CT (32)
/////////////////////////////////////////////////////////////////////////////
// Global Functions
HRESULT TFVarCopy (VARIANT * pvarDest, VARIANT * pvarSrc);
/////////////////////////////////////////////////////////////////////////////
// class CContainerDoc
class CContainerDoc : public COleDocument
{
protected: // create from serialization only
CContainerDoc();
DECLARE_DYNCREATE(CContainerDoc)
// Attributes
public:
protected:
// Ambient Property Attributes
APROP m_apropStd[MAX_STD_APROP_CT];
int m_nStdApropCt;
APROP m_apropDlgStd[MAX_STD_APROP_CT];
int m_nDlgStdApropCt;
APROP m_apropNonstd[MAX_NONSTD_APROP_CT];
int m_nNonstdApropCt;
APROP m_apropDlgNonstd[MAX_NONSTD_APROP_CT];
int m_nDlgNonstdApropCt;
CFontHolder* m_lpFontHolder;
CString m_strFaceName;
FONTDESC m_fntdesc;
// Operations
public:
// Ambient property management
void AnnounceApropChange (DISPID dispidAprop);
BOOL SetDefaultAmbientProps();
void DestroyAmbientProps(BOOL bInitializing = FALSE);
void DestroyDlgAmbientProps(BOOL bInitializing = FALSE);
LPAPROP FindAprop (DISPID dispid);
LPAPROP FindAprop (const TCHAR * pszName);
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CContainerDoc)
public:
virtual BOOL OnNewDocument();
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CContainerDoc();
virtual void Serialize(CArchive& ar); // overridden for document i/o
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CContainerDoc)
// 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()
// Generated OLE dispatch map functions
//{{AFX_DISPATCH(CContainerDoc)
// NOTE - the ClassWizard will add and remove member functions here.
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_DISPATCH
DECLARE_DISPATCH_MAP()
};
/////////////////////////////////////////////////////////////////////////////