📄 driversetview.h
字号:
#if !defined(AFX_DRIVERSETVIEW_H__DAD24AD7_A993_4886_BA71_FF67CF9B722E__INCLUDED_)
#define AFX_DRIVERSETVIEW_H__DAD24AD7_A993_4886_BA71_FF67CF9B722E__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DriversetView.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CDriversetView record view
#include "DriverSet.h"
class CDriversetView : public CRecordView
{
protected:
CDriversetView(); // protected constructor used by dynamic creation
DECLARE_DYNCREATE(CDriversetView)
// Form Data
public:
//{{AFX_DATA(CDriversetView)
enum { IDD = IDD_DRIVERSETVIEW };
CListCtrl m_list;
CDriverSet* m_pSet;
int m_driverid;
CString m_drivername;
//}}AFX_DATA
// Attributes
public:
// Operations
public:
CDriverSet* GetRecordset();
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDriversetView)
// NOTE - the ClassWizard will add and remove member functions here.
public:
virtual CRecordset* OnGetRecordset();
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual void OnInitialUpdate();
//}}AFX_VIRTUAL
// Implementation
protected:
virtual ~CDriversetView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
// Generated message map functions
//{{AFX_MSG(CDriversetView)
afx_msg void OnAdd();
afx_msg void OnChange();
afx_msg void OnDelete();
afx_msg void OnSave();
afx_msg void OnReturn();
afx_msg void OnRefurbish();
afx_msg void OnClickList(NMHDR* pNMHDR, LRESULT* pResult);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
int operation;
void EnableView(bool b);
int curiItem;
void Showlist();
void Getvalue();
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DRIVERSETVIEW_H__DAD24AD7_A993_4886_BA71_FF67CF9B722E__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -