📄 miniview.h
字号:
#if !defined(AFX_MINIVIEW_H__8A3E00E6_0A60_498B_A1F0_FBE84441BA5F__INCLUDED_)
#define AFX_MINIVIEW_H__8A3E00E6_0A60_498B_A1F0_FBE84441BA5F__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// MiniView.h : header file
//
//#include <villib.h>
/////////////////////////////////////////////////////////////////////////////
// CMiniView view
class CMiniView : public CScrollView
{
protected:
CMiniView(); // protected constructor used by dynamic creation
DECLARE_DYNCREATE(CMiniView)
// Attributes
public:
BITMAPINFO * m_pBmiImage;
CString m_szText;
BYTE *m_pImg;
// Operations
public:
void SetScrollingWindow(int dx, int dy);
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMiniView)
protected:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual void OnInitialUpdate(); // first time after construct
//}}AFX_VIRTUAL
// Implementation
protected:
virtual ~CMiniView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
// Generated message map functions
//{{AFX_MSG(CMiniView)
// NOTE - the ClassWizard will add and remove member functions here.
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MINIVIEW_H__8A3E00E6_0A60_498B_A1F0_FBE84441BA5F__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -