?? reportdlg.h
字號:
#if !defined(AFX_REPORTDLG_H__F364B25C_CF93_4816_B5DB_320C35F8542F__INCLUDED_)
#define AFX_REPORTDLG_H__F364B25C_CF93_4816_B5DB_320C35F8542F__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ReportDlg.h : header file
//
//添加的
#include "MyRecordSet.h"
/////////////////////////////////////////////////////////////////////////////
// CReportDlg dialog
class CReportDlg : public CDialog
{
public:
//添加的數據集
MyRecordSet m_pRS;
protected:
//添加的
CString m_strSQL;
//樹圖標
CImageList m_TreeBootImage;
//添加樹結點和計算結果
void AddTreeNodes();
void Calculate(CString courseID);
//根結點
HTREEITEM hRootItem;
//如果該值[strValue],在指定結點的子結點中不存在,則添加一個為此值的結點;
HTREEITEM AddDistinctNode(HTREEITEM hParent,CString strValue);
public:
CReportDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CReportDlg)
enum { IDD = IDD_REPORTDLG_DIALOG };
CTreeCtrl m_ctrlTree;
CString m_strName;
float m_fLow;
float m_fHigh;
float m_fDelta;
float m_fCredit;
CString m_strCollege;
float m_fAvg;
int m_n90;
int m_n80;
int m_n70;
int m_n60;
int m_n50;
int m_n100;
int m_nCount;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CReportDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CReportDlg)
virtual BOOL OnInitDialog();
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_REPORTDLG_H__F364B25C_CF93_4816_B5DB_320C35F8542F__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -