?? bookinfoview.h
字號:
// bookinfoView.h : interface of the CBookinfoView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_BOOKINFOVIEW_H__9AEB1789_31CE_40FF_A2ED_1F0D6191161D__INCLUDED_)
#define AFX_BOOKINFOVIEW_H__9AEB1789_31CE_40FF_A2ED_1F0D6191161D__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CBookinfoSet;
class CBookinfoView : public CRecordView
{
protected: // create from serialization only
CBookinfoView();
DECLARE_DYNCREATE(CBookinfoView)
public:
//{{AFX_DATA(CBookinfoView)
enum{ IDD = IDD_BOOKINFO_FORM };
CButton m_delete;
CButton m_edit;
CBookinfoSet* m_pSet;
// NOTE: the ClassWizard will add data members here
//}}AFX_DATA
// Attributes
public:
CBookinfoDoc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CBookinfoView)
public:
virtual CRecordset* OnGetRecordset();
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual void OnInitialUpdate(); // called first time after construct
virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
//}}AFX_VIRTUAL
// Implementation
public:
int state;
CString old;
virtual ~CBookinfoView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CBookinfoView)
afx_msg void Onadd();
afx_msg void Onedit();
afx_msg void Ondelete();
afx_msg void Onok();
afx_msg void Onexit();
// NOTE - the ClassWizard will add and remove member functions here.
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in bookinfoView.cpp
inline CBookinfoDoc* CBookinfoView::GetDocument()
{ return (CBookinfoDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_BOOKINFOVIEW_H__9AEB1789_31CE_40FF_A2ED_1F0D6191161D__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -