?? rulerview.h
字號:
// RulerView.h : interface of the CRulerView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_RULERVIEW_H__F71FD0F1_D342_490D_BFF5_BFC6CBEF3483__INCLUDED_)
#define AFX_RULERVIEW_H__F71FD0F1_D342_490D_BFF5_BFC6CBEF3483__INCLUDED_
#include "Target.h" // Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CRulerView : public CFormView
{
protected: // create from serialization only
CRulerView();
DECLARE_DYNCREATE(CRulerView)
public:
//{{AFX_DATA(CRulerView)
enum { IDD = IDD_NEWRULER_FORM };
CString m_cm;
CString m_EndX;
CString m_EndY;
CString m_Inch;
CString m_mm;
CString m_Pixel;
CString m_StartX;
CString m_StartY;
CString m_AreaCir_Inch;
CString m_AreaCir_MM;
CString m_AreaCir_Pixel;
CString m_AreaRect_Inch;
CString m_AreaRect_MM;
CString m_AreaRect_Pixel;
//}}AFX_DATA
// Attributes
public:
CRulerDoc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CRulerView)
public:
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual void OnInitialUpdate(); // called first time after construct
//}}AFX_VIRTUAL
// Implementation
public:
CTarget target;
virtual ~CRulerView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CRulerView)
afx_msg void OnMenuStart();
afx_msg LRESULT OnEndClick(WPARAM wParam, LPARAM lParam);
afx_msg LRESULT OnCancelClick(WPARAM wParam, LPARAM lParam);
afx_msg void OnFileSave();
afx_msg void OnFileSaveAs();
afx_msg void OnFileOpen();
afx_msg void OnFileNew();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
int m_ID;
_RecordsetPtr m_pRs;
BOOL IsNew;
_ConnectionPtr m_pConnection;
};
#ifndef _DEBUG // debug version in RulerView.cpp
inline CRulerDoc* CRulerView::GetDocument()
{ return (CRulerDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_RULERVIEW_H__F71FD0F1_D342_490D_BFF5_BFC6CBEF3483__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -