You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
768 B
C++

//////////////////////////////////////////////////////////////////////////////
//文件: CItem类扩展
//主要功能:
// 操作各类元素或完成一定的功能
//
//程序编写: 2006-12-07
//
//
/////////////////////////////////////////////////////////////////////////////
#pragma once
#include ".\itemmakemark.h"
#include "SigmaDoc.h"
namespace NItem
{
class CItemMakeMark :
public CItem
{
public:
CItemMakeMark(CSigmaDoc* ppDoc);
virtual ~CItemMakeMark(void);
//属性项
void OnDraw(CXyDC* pDC) override;
//virtual BOOL InitPropertyGrid(CXTPPropertyGrid& grid);
//virtual BOOL OnGridItemChangeValue(CXTPPropertyGridItem* pItem);
CSize8 m_szGridStepBak;
CSize8 m_szGridStep;
COLORREF m_bkColor;
CRect8 m_rect;
void DrawRectangle(CXyDC& dc);
int MakeMark(void);
};
};