📄 lsview.h
字号:
// LSView.h : interface of the CLSView class
//
/////////////////////////////////////////////////////////////////////////////
#include "lsdoc.h"
#include "infook.h"
#if !defined(AFX_LSVIEW_H__23CC46AF_5235_11D2_95B6_00608C19C5C5__INCLUDED_)
#define AFX_LSVIEW_H__23CC46AF_5235_11D2_95B6_00608C19C5C5__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
class CLSDoc;
class CLSView : public CScrollView
{
protected: // create from serialization only
CLSView();
DECLARE_DYNCREATE(CLSView)
// Attributes
public:
CLSDoc* GetDocument();
POINT m_ptPrev;
POINT m_ptFirst;
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CLSView)
public:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
virtual void OnInitialUpdate(); // called first time after construct
virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnActivateView(BOOL bActivate, CView* pActivateView, CView* pDeactiveView);
virtual void OnUpdate(CView* pSender, LPARAM lHint, CObject* pHint);
//}}AFX_VIRTUAL
// Implementation
public:
void DrawLine(double x1,double y1,double x2,double y2,UINT segleng,int i);
virtual ~CLSView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
BOOL RealizePalette (BOOL bForceBkgnd);
//{{AFX_MSG(CLSView)
afx_msg BOOL OnQueryNewPalette();
afx_msg void OnPaletteChanged(CWnd* pFocusWnd);
afx_msg void OnUpdateIndicatorBytes(CCmdUI* pCmdUI);
afx_msg void OnUpdateIndicatorCompress(CCmdUI* pCmdUI);
afx_msg void OnUpdateIndicatorPixels(CCmdUI* pCmdUI);
afx_msg void OnMouseMove(UINT nFlags, CPoint point);
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
afx_msg void OnUpdateXY(CCmdUI * pCmdUI);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in LSView.cpp
inline CLSDoc* CLSView::GetDocument()
{ return (CLSDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_LSVIEW_H__23CC46AF_5235_11D2_95B6_00608C19C5C5__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -