📄 raderview.h
字号:
// RaderView.h : interface of the CRaderView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_RADERVIEW_H__18D3AE6E_515D_11D2_AE4C_0000214A0AF3__INCLUDED_)
#define AFX_RADERVIEW_H__18D3AE6E_515D_11D2_AE4C_0000214A0AF3__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
#include "WholeMapDialog.h"
class LFilterDlg;
class CRaderView : public CScrollView
{
public:
UNDATA* m_pImageData;
DWORD m_dwLeft;
DWORD m_dwTop;
DWORD m_dwWidth;
DWORD m_dwHeight;
LPBYTE m_pTemp;
LPBITMAPINFO m_pBmi;
BOOL m_bSized;
LFilterDlg *m_pLeeDlg;
BOOL m_bExport;
BOOL m_bMouseDown;
CPoint m_ptMouseDown, m_ptMouseMove;
protected:
CWholeMapDialog *m_pWholeMapDlg;
BOOL m_bViewPosition;
protected: // create from serialization only
CRaderView();
DECLARE_DYNCREATE(CRaderView)
// Attributes
public:
CRaderDoc* GetDocument();
BOOL ViewWindow( CDC* pDC);
void DrawSelectRegion(CDC* pDC, const CPoint point, CRect& rectOut);
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CRaderView)
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
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CRaderView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CRaderView)
afx_msg void OnViewWholemap();
afx_msg void OnUpdateViewWholemap(CCmdUI* pCmdUI);
afx_msg void OnViewScrollWindow();
afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
afx_msg void OnLfilterTwo();
afx_msg void OnUpdateLfilterTwo(CCmdUI* pCmdUI);
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg void OnFileExport();
afx_msg void OnUpdateFileExport(CCmdUI* pCmdUI);
afx_msg BOOL OnSetCursor(CWnd* pWnd, UINT nHitTest, UINT message);
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
afx_msg void OnMouseMove(UINT nFlags, CPoint point);
afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in RaderView.cpp
inline CRaderDoc* CRaderView::GetDocument()
{ return (CRaderDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_RADERVIEW_H__18D3AE6E_515D_11D2_AE4C_0000214A0AF3__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -