📄 bsview.h
字号:
// bsView.h : interface of the CBsView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_BSVIEW_H__D1CE24A2_20C7_43F8_BAB6_C7B9A279EBA6__INCLUDED_)
#define AFX_BSVIEW_H__D1CE24A2_20C7_43F8_BAB6_C7B9A279EBA6__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "Dib.h"
class CBsView :public CView
{
protected: // create from serialization only
CBsView();
DECLARE_DYNCREATE(CBsView)
// Attributes
public:
CBsDoc* GetDocument();
void Sub(BYTE *p_data,BYTE *p_dataBK,int wide,int height,DWORD size);
// void Sub(LPBYTE p_data, LPBYTE p_dataBK,int wide,int height,int bitcount);
void mid(CDib *dib,int n);
CDib dib1;
CDib dib2;
CDib *dib;
CString FilePathname2;
CString FilePathname1;
CString FileName2;
CString FileName1;
BOOL valid;
BYTE *FilePath;
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CBsView)
public:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CBsView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CBsView)
afx_msg void OnOperate();
afx_msg void OnFileOpenb();
afx_msg void OnFileOpeno();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in bsView.cpp
inline CBsDoc* CBsView::GetDocument()
{ return (CBsDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_BSVIEW_H__D1CE24A2_20C7_43F8_BAB6_C7B9A279EBA6__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -