?? scoredlg.h
字號:
#if !defined(AFX_SCOREDLG_H__221CA254_23CC_4727_B929_C4DC81B6879C__INCLUDED_)
#define AFX_SCOREDLG_H__221CA254_23CC_4727_B929_C4DC81B6879C__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ScoreDlg.h : header file
//
//添加的
#include "MyRecordSet.h"
/////////////////////////////////////////////////////////////////////////////
// CScoreDlg dialog
class CScoreDlg : public CDialog
{
public:
//添加的數據集
MyRecordSet m_pRS;
protected:
//添加的
CString m_strSQL;
CStatusBar m_wndStatusBar;
//工具欄圖標
CImageList m_TreeBootImage;
CToolBar m_wndToolBar;
//添加樹結點和列表項目
void AddTreeNodes();
void AddListItems();
//根結點
HTREEITEM hRootItem;
//如果該值[strValue],在指定結點的子結點中不存在,則添加一個為此值的結點;
HTREEITEM AddDistinctNode(HTREEITEM hParent,CString strValue);
public:
CScoreDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CScoreDlg)
enum { IDD = IDD_SCOREDLG_DIALOG };
CTreeCtrl m_ctrlTree;
CListCtrl m_ctrlList;
CString m_strScore;
CString m_strID;
CString m_strCourseID;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CScoreDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CScoreDlg)
afx_msg void OnItemSearchStu();
afx_msg void OnItemSearch();
afx_msg void OnItemAdd();
afx_msg void OnItemSave();
afx_msg void OnItemEdit();
afx_msg void OnItemDelete();
afx_msg void OnItemRefresh();
afx_msg void OnItemHelp();
afx_msg void OnItemQuit();
virtual BOOL OnInitDialog();
afx_msg void OnClickList(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnColumnclickList(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnSelchangedTree(NMHDR* pNMHDR, LRESULT* pResult);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SCOREDLG_H__221CA254_23CC_4727_B929_C4DC81B6879C__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -