📄 srvritem.h
字号:
// SrvrItem.h : interface of the CHelloSrvrItem class
//
#if !defined(AFX_SRVRITEM_H__44C874B2_A0FA_48D8_B3FB_596649CC7E93__INCLUDED_)
#define AFX_SRVRITEM_H__44C874B2_A0FA_48D8_B3FB_596649CC7E93__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CHelloSrvrItem : public COleServerItem
{
DECLARE_DYNAMIC(CHelloSrvrItem)
// Constructors
public:
CHelloSrvrItem(CHelloDoc* pContainerDoc);
// Attributes
CHelloDoc* GetDocument() const
{ return (CHelloDoc*)COleServerItem::GetDocument(); }
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CHelloSrvrItem)
public:
virtual BOOL OnDraw(CDC* pDC, CSize& rSize);
virtual BOOL OnGetExtent(DVASPECT dwDrawAspect, CSize& rSize);
//}}AFX_VIRTUAL
// Implementation
public:
~CHelloSrvrItem();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
virtual void Serialize(CArchive& ar); // overridden for document i/o
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SRVRITEM_H__44C874B2_A0FA_48D8_B3FB_596649CC7E93__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -