Skip to content

Commit

Permalink
Initial commit with date and time out of DISK_055 backup
Browse files Browse the repository at this point in the history
  • Loading branch information
lollisoft committed Mar 26, 2023
1 parent 0c4030f commit 1efa893
Showing 1 changed file with 56 additions and 0 deletions.
56 changes: 56 additions & 0 deletions CNTRITEM.H
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
// cntritem.h : interface of the CDrawItem class
//
// This is a part of the Microsoft Foundation Classes C++ library.
// Copyright (C) 1992-1993 Microsoft Corporation
// All rights reserved.
//
// This source code is only intended as a supplement to the
// Microsoft Foundation Classes Reference and Microsoft
// QuickHelp and/or WinHelp documentation provided with the library.
// See these sources for detailed information regarding the
// Microsoft Foundation Classes product.


class CDrawDoc;
class CDrawView;

class AFX_CLASS_EXPORT CDrawItem : public COleClientItem
{
DECLARE_SERIAL(CDrawItem)

// Constructors
public:
CDrawItem(CDrawDoc* pContainer = NULL, CDrawOleObj* pDrawObj = NULL);
// Note: pContainer is allowed to be NULL to enable IMPLEMENT_SERIALIZE
// IMPLEMENT_SERIALIZE requires the class have a constructor with
// zero arguments. Normally, OLE items are constructed with a
// non-NULL document pointer.

// Attributes
public:
CDrawDoc* GetDocument()
{ return (CDrawDoc*)COleClientItem::GetDocument(); }
CBaseView* GetActiveView()
{ return (CBaseView*)COleClientItem::GetActiveView(); }

CDrawOleObj* m_pDrawObj; // back pointer to OLE draw object

// Operations
BOOL UpdateExtent();

// Implementation
public:
~CDrawItem();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
virtual void Serialize(CArchive& ar);
virtual void OnGetItemPosition(CRect& rPosition);

protected:
virtual void OnChange(OLE_NOTIFICATION wNotification, DWORD dwParam);
virtual BOOL OnChangeItemPosition(const CRect& rectPos);
};

/////////////////////////////////////////////////////////////////////////////

0 comments on commit 1efa893

Please sign in to comment.