?? studentscoreview.h
字號:
// StudentScoreView.h : CStudentScoreView 類的接口
//
#pragma once
class CStudentScoreDoc;
class CStudentScoreView : public CFormView
{
protected: // 僅從序列化創(chuàng)建
CStudentScoreView();
DECLARE_DYNCREATE(CStudentScoreView)
public:
enum{ IDD = IDD_STUDENTSCORE_FORM };
// 屬性
public:
CStudentScoreDoc* GetDocument() const;
CSplitterWnd m_wndSplitter1;
CMultiDocTemplate* m_pDocTemplate;
CString m_CurTblName;//當前數(shù)據(jù)表
int m_CurRecordPos;//當前記錄位置
// 操作
public:
// 重寫
public:
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
virtual void OnInitialUpdate(); // 構造后第一次調(diào)用
// 實現(xiàn)
public:
virtual ~CStudentScoreView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// 生成的消息映射函數(shù)
protected:
DECLARE_MESSAGE_MAP()
public:
afx_msg void OnBnClickedButton1();
afx_msg void OnNMClickList1(NMHDR *pNMHDR, LRESULT *pResult);
afx_msg LRESULT OnRefreshList1(WPARAM wParam,LPARAM lParam);
afx_msg LRESULT OnExecSql(WPARAM wParam,LPARAM lParam);
protected:
virtual void OnDraw(CDC* /*pDC*/);
public:
afx_msg void OnNMRclickList1(NMHDR *pNMHDR, LRESULT *pResult);
CImageList m_ImageList;
afx_msg void OnNMDblclkTree1(NMHDR *pNMHDR, LRESULT *pResult);
afx_msg void OnADDRecord(); //添加記錄
afx_msg void OnDelRecord();
afx_msg void OnAlterRecord();
void RefreshShow(bool ISUnionQuery=true); //刷新顯示
};
#ifndef _DEBUG // StudentScoreView.cpp 的調(diào)試版本
inline CStudentScoreDoc* CStudentScoreView::GetDocument() const
{ return reinterpret_cast<CStudentScoreDoc*>(m_pDocument); }
#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -