📄 page3.h
字号:
#if !defined(AFX_PAGE3_H__61858C43_F2D7_42AF_AEC7_C571B7DDE546__INCLUDED_)
#define AFX_PAGE3_H__61858C43_F2D7_42AF_AEC7_C571B7DDE546__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Page3.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CPage3 dialog
class CPage3 : public CDialog
{
DECLARE_DYNCREATE(CPage3)
// Construction
public:
void DrawTreeImage(CDC *pDC, CPoint pntStart);
void DrawFrameAndText(CDC *pDC, CPoint LeftTop, CPoint RightButtom,const CString& strDrawedText);
static CPoint GetImgOrgPoint();
void DrawFrameImg(CDC *pDC,CRect rect);
void DrawRangeText(CRect rect,CString strTtext,CDC*pDC)
{//函数重载
DrawRangeText(rect.left,rect.top,rect.right,rect.bottom,strTtext,pDC);
}
void DrawRangeText(long x1,long y1,long x2,long y2,CString strTtext,CDC*pDC);
void DrawFrameImage(CDC *pDC,CRect rect);
CPage3(CWnd* pParent = NULL); // standard constructor
//属性
// static CMapPtrToPtr m_RanglePtr; //映射对象
// Dialog Data
//{{AFX_DATA(CPage3)
enum { IDD = IDD_PAGE3 };
int m_ShowType;
//}}AFX_DATA
static long xStart;
static long yStart;
static CPoint pntArray[30];
static BOOL bDrawTreeImage;//是否画树型图
static BOOL bDrawFrameImage;//是否画框架图
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CPage3)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CPage3)
afx_msg void OnRadio();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_PAGE3_H__61858C43_F2D7_42AF_AEC7_C571B7DDE546__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -