?? query.h
字號(hào):
#if !defined(AFX_QUERY_H__4E24346D_05CD_4D95_A7A2_5DF04AA1564A__INCLUDED_)
#define AFX_QUERY_H__4E24346D_05CD_4D95_A7A2_5DF04AA1564A__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Query.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CQuery dialog
class CQuery : public CDialog
{
// Construction
public:
CQuery(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CQuery)
enum { IDD = IDD_QUERY };
CButton m_btnRun;
CButton m_btnOr;
CButton m_btnNo;
CButton m_btnExit;
CButton m_btnClear;
CButton m_btnAll;
CButton m_btnAdd;
CListCtrl m_ctlResult;
CListBox m_ctlField;
CComboBox m_ctlSort;
CComboBox m_ctlOpt;
CComboBox m_ctlFValue;
CComboBox m_ctlFName;
CString m_sSql;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CQuery)
public:
virtual BOOL DestroyWindow();
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CQuery)
virtual BOOL OnInitDialog();
afx_msg void OnBtnrun();
afx_msg void OnBtnclear();
afx_msg void OnBtnexit();
afx_msg void OnItemchangedListResult(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnClose();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
int m_iCurrentSel;
void LoadRecordToListView(_RecordsetPtr Rsc);
_RecordsetPtr m_pRsc;
void LoadData(CString sTName);
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_QUERY_H__4E24346D_05CD_4D95_A7A2_5DF04AA1564A__INCLUDED_)
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -