?? coursedlg.h
字號:
#if !defined(AFX_COURSEDLG_H__2924D2D5_0A5A_47D5_AF75_B400ACF90716__INCLUDED_)
#define AFX_COURSEDLG_H__2924D2D5_0A5A_47D5_AF75_B400ACF90716__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// CourseDlg.h : header file
//
//添加的
#include "MyRecordSet.h"
/////////////////////////////////////////////////////////////////////////////
// CCourseDlg dialog
class CCourseDlg : public CDialog
{
// Construction
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:
CCourseDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CCourseDlg)
enum { IDD = IDD_COURSEDLG_DIALOG };
CComboBox m_ctrlCollege;
CListCtrl m_ctrlList;
CTreeCtrl m_ctrlTree;
CString m_strName;
CString m_strID;
CString m_strType;
CString m_strCollege;
CString m_strCredit;
CString m_strHours;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CCourseDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CCourseDlg)
afx_msg void OnItemAdd();
afx_msg void OnItemDelete();
afx_msg void OnItemEdit();
afx_msg void OnItemQuit();
afx_msg void OnItemHelp();
afx_msg void OnItemRefresh();
afx_msg void OnItemSave();
afx_msg void OnItemSearch();
virtual BOOL OnInitDialog();
afx_msg void OnSelchangedTree(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnColumnclickList(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnClickList(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_COURSEDLG_H__2924D2D5_0A5A_47D5_AF75_B400ACF90716__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -