📄 mdicopybitmapview.h
字号:
// MDICopyBitmapView.h : interface of the CMDICopyBitmapView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_MDICOPYBITMAPVIEW_H__10C61A8E_0B40_4828_9E9E_B28ACE1A4091__INCLUDED_)
#define AFX_MDICOPYBITMAPVIEW_H__10C61A8E_0B40_4828_9E9E_B28ACE1A4091__INCLUDED_
#include "DIBAPI.h"
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CMDICopyBitmapView : public CScrollView
{
protected: // create from serialization only
CMDICopyBitmapView();
DECLARE_DYNCREATE(CMDICopyBitmapView)
// Attributes
public:
CMDICopyBitmapDoc* GetDocument();
// Operations
public:
CPalette* m_pPalette;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMDICopyBitmapView)
public:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
virtual void OnInitialUpdate();
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 ~CMDICopyBitmapView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CMDICopyBitmapView)
afx_msg void OnEditCopy();
afx_msg void OnEditPaste();
afx_msg void OnUpdateEditCopy(CCmdUI* pCmdUI);
afx_msg void OnUpdateEditPaste(CCmdUI* pCmdUI);
afx_msg LRESULT OnRealizePal(WPARAM wParam, LPARAM lParam);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in MDICopyBitmapView.cpp
inline CMDICopyBitmapDoc* CMDICopyBitmapView::GetDocument()
{ return (CMDICopyBitmapDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MDICOPYBITMAPVIEW_H__10C61A8E_0B40_4828_9E9E_B28ACE1A4091__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -