?? sanguo_view.h
字號:
// SanGuo_View.h : interface of the CSanGuo_View class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_SANGUO_VIEW_H__D94686C6_7993_45C3_81F4_73FE0EE4FB29__INCLUDED_)
#define AFX_SANGUO_VIEW_H__D94686C6_7993_45C3_81F4_73FE0EE4FB29__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CSanGuo_Set;
class CSanGuo_View : public CRecordView
{
protected: // create from serialization only
CSanGuo_View();
DECLARE_DYNCREATE(CSanGuo_View)
public:
//{{AFX_DATA(CSanGuo_View)
enum { IDD = IDD_SANGUO__FORM };
CListCtrl m_ListShow;
CSanGuo_Set* m_pSet;
CString m_strAccount;
CString m_strPassword;
CString m_strName;
CString m_strNameEx;
CString m_strPlace;
CString m_strForce;
CString m_strIntel;
CString m_strShort;
//}}AFX_DATA
// Attributes
public:
CSanGuo_Doc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CSanGuo_View)
public:
virtual CRecordset* OnGetRecordset();
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual void OnInitialUpdate(); // called first time after construct
virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CSanGuo_View();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CSanGuo_View)
afx_msg void OnButtonAdd();
afx_msg void OnClickListShow(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnButtonChange();
afx_msg void OnButtonDelete();
afx_msg void OnButtonQuery();
afx_msg void OnButtonQuery2();
afx_msg void OnButtonQuery3();
afx_msg void OnButtonQuery4();
afx_msg void OnButtonQuery5();
afx_msg void OnButtonLadn();
afx_msg void OnButtonEnroll();
afx_msg void OnButtonExit();
afx_msg void OnButtonHelp();
afx_msg void OnButtonQuery6();
afx_msg void OnButtonShowall();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
public:
//////////////////////////////////////////////////////////////////////////////////////
void EnableAllDlg(bool); //用于讓所有非登陸對話框激活或失活
void ShowList(); //用于顯示列表的函數
void Query(CString,CString,CString,bool);
//用于查詢各種不同的屬性:參數1為要查詢的字符串,2為顯示的屬性名,3為表中要查詢的屬性名
//(要與表列頭完全一致),4為要查詢的是否為字符串,是為1,不是為0
private:
int m_iSelect; //用于記錄鼠標點擊列表中第幾行
//////////////////////////////////////////////////////////////////////////////////////
};
#ifndef _DEBUG // debug version in SanGuo_View.cpp
inline CSanGuo_Doc* CSanGuo_View::GetDocument()
{ return (CSanGuo_Doc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SANGUO_VIEW_H__D94686C6_7993_45C3_81F4_73FE0EE4FB29__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -