📄 lanesoftview.h
字号:
// LaneSoftView.h : interface of the CLaneSoftView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_LANESOFTVIEW_H__F2B7382D_3453_11D3_96EA_00A0C948983E__INCLUDED_)
#define AFX_LANESOFTVIEW_H__F2B7382D_3453_11D3_96EA_00A0C948983E__INCLUDED_
#include "FrameDlg.h" // Added by ClassView
#include "Cdib.h" // Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#define WM_CHANGE_LLAMP WM_USER+9
#define WM_CHANGE_TLAMP WM_USER+19
#define WM_CHANGE_BAR WM_USER+20
class CPanDlg1;
class CDIB;
class COperateDlg;
class CFrameDlg;
class CLaneSoftView : public CView
{
protected: // create from serialization only
CLaneSoftView();
DECLARE_DYNCREATE(CLaneSoftView)
// Attributes
public:
CLaneSoftDoc * GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CLaneSoftView)
public:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
virtual BOOL Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext = NULL);
protected:
virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnPrint(CDC* pDC, CPrintInfo* pInfo);
//}}AFX_VIRTUAL
// Implementation
public:
CFrameDlg *m_pFrameDlg;
COperateDlg * m_pOperateDlg;
CDIB m_dib,m_usedib1,m_usedib2,m_usedib3;
CBitmap m_bBitmap;
CPanDlg1 * m_pPanDlg1;
int m_nMaxY;
int m_nMaxX;
CBitmap * m_pBitmap;
CDC * m_pMemDC;
virtual ~CLaneSoftView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
afx_msg LONG OnChange_lLamp(UINT wParam,LONG lParam);
afx_msg LONG OnChange_tLamp(UINT wParam,LONG lParam);
afx_msg LONG OnChange_Bar(UINT wParam,LONG lParam);
//{{AFX_MSG(CLaneSoftView)
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnPaint();
afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in LaneSoftView.cpp
inline CLaneSoftDoc* CLaneSoftView::GetDocument()
{ return (CLaneSoftDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_LANESOFTVIEW_H__F2B7382D_3453_11D3_96EA_00A0C948983E__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -