?? graph.h
字號:
#if !defined(AFX_GRAPH_H__0BF34F55_5441_11D5_B5A0_9B983C690D43__INCLUDED_)
#define AFX_GRAPH_H__0BF34F55_5441_11D5_B5A0_9B983C690D43__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Graph.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CGraph dialog
class CGraph : public CDialog
{
// Construction
public:
CGraph(CWnd* pParent = NULL); // standard constructor
~CGraph();
// Dialog Data
//{{AFX_DATA(CGraph)
enum { IDD = IDD_G };
CString m_sMsgPos;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CGraph)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CGraph)
afx_msg void OnPaint();
afx_msg void OnCancel();
afx_msg void OnBtnClear();
virtual BOOL OnInitDialog();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
public:
BOOL m_bShowGraph; //圖形窗口是否顯示
int m_bInitOK; //初始化是否完成
double m_lfFactor; //繪圖比例
private:
int m_iLastPosX; //上一個位置
int m_iLastPosY;
int m_CenX; //坐標原點
int m_CenY;
public:
void ClearAll();
void DrawAxes();
void MoveToPos(long x,long y);
void LineToPos(long x,long y);
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_GRAPH_H__0BF34F55_5441_11D5_B5A0_9B983C690D43__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -