?? 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)
{//函數(shù)重載
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_)
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -