Line | |
---|
1 | // SrvrItem.h : interface of the CTestProgSrvrItem class
|
---|
2 | //
|
---|
3 |
|
---|
4 | #pragma once
|
---|
5 |
|
---|
6 | class CTestProgSrvrItem : public COleServerItem
|
---|
7 | {
|
---|
8 | DECLARE_DYNAMIC(CTestProgSrvrItem)
|
---|
9 |
|
---|
10 | // Constructors
|
---|
11 | public:
|
---|
12 | CTestProgSrvrItem(CTestProgDoc* pContainerDoc);
|
---|
13 |
|
---|
14 | // Attributes
|
---|
15 | CTestProgDoc* GetDocument() const
|
---|
16 | { return reinterpret_cast<CTestProgDoc*>(COleServerItem::GetDocument()); }
|
---|
17 |
|
---|
18 | // Overrides
|
---|
19 | public:
|
---|
20 | virtual BOOL OnDraw(CDC* pDC, CSize& rSize);
|
---|
21 | virtual BOOL OnGetExtent(DVASPECT dwDrawAspect, CSize& rSize);
|
---|
22 |
|
---|
23 | // Implementation
|
---|
24 | public:
|
---|
25 | ~CTestProgSrvrItem();
|
---|
26 | #ifdef _DEBUG
|
---|
27 | virtual void AssertValid() const;
|
---|
28 | virtual void Dump(CDumpContext& dc) const;
|
---|
29 | #endif
|
---|
30 |
|
---|
31 | protected:
|
---|
32 | virtual void Serialize(CArchive& ar); // overridden for document i/o
|
---|
33 | };
|
---|
34 |
|
---|
Note: See
TracBrowser
for help on using the repository browser.