?? 12imagetestview.h
字號(hào):
// 12ImageTestView.h : interface of the CMy12ImageTestView class
//
#pragma once
#include "ImageDlg.h"
class CMy12ImageTestView : public CFormView
{
protected: // create from serialization only
CMy12ImageTestView();
DECLARE_DYNCREATE(CMy12ImageTestView)
public:
enum{ IDD = IDD_MY12IMAGETEST_FORM };
// Attributes
public:
CMy12ImageTestDoc* GetDocument() const;
// Operations
public:
BYTE * pBuffer; //文件數(shù)據(jù)
int nSize; //文件大小
int index;
// Overrides
public:
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual void OnInitialUpdate(); // called first time after construct
// Implementation
public:
virtual ~CMy12ImageTestView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
DECLARE_MESSAGE_MAP()
public:
CGridCtrl m_GridCtrl;
CImageDlg dlgData;
//CPhoto *pData;
afx_msg void OnGridSelChange( NMHDR * pNotifyStruct, LRESULT * result );
public:
afx_msg void OnBnClickedSave();
public:
afx_msg void OnBnClickedAdd();
public:
afx_msg void OnBnClickedDelete();
public:
afx_msg void OnBnClickedCancel();
public:
afx_msg void OnBnClickedInsert();
};
#ifndef _DEBUG // debug version in 12ImageTestView.cpp
inline CMy12ImageTestDoc* CMy12ImageTestView::GetDocument() const
{ return reinterpret_cast<CMy12ImageTestDoc*>(m_pDocument); }
#endif
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -