selecttables.h

来自「Interactive SQL Tool」· C头文件 代码 · 共 72 行

H
72
字号
#if !defined(AFX_SELECTTABLES_H__8466BCB3_0FF4_11D2_AEF9_204C4F4F5020__INCLUDED_)
#define AFX_SELECTTABLES_H__8466BCB3_0FF4_11D2_AEF9_204C4F4F5020__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// SelectTables.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CSelectTables dialog

class CChildFrame;

class CSelectTables : public CDialog
{
// Construction
public:
	CString m_strObjName;
	CString m_strType;
	CSelectTables(CWnd* pParent = NULL);   // standard constructor
	virtual ~CSelectTables();
	CString m_strSQL;

// Dialog Data
	//{{AFX_DATA(CSelectTables)
	enum { IDD = IDD_SELECT_TABLES };
	CButton	m_buttonTextOnly;
	CButton	m_buttonSystemTables;
	CButton	m_buttonViews;
	CListCtrlEx	m_ctrlList;
	BOOL	m_bTextOnly;
	CString	m_strSearch;
	//}}AFX_DATA
	
	CString m_strTableName;

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CSelectTables)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	// Generated message map functions
	//{{AFX_MSG(CSelectTables)
	virtual BOOL OnInitDialog();
	virtual void OnOK();
	afx_msg void OnDblclkList1(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnColumnclickList1(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnSystemTables();
	afx_msg void OnViews();
	afx_msg void OnChangeSearch();
	afx_msg void OnTextOnly();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

private:
	bool GetColumnList(const CString& sTN, CString& sColumns);
	bool m_bSort;
	bool PopulateListEx();
	bool ApplyCriteriaAndPopulate();
	bool PopulateList();
	CChildFrame* m_pChildFrame;
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_SELECTTABLES_H__8466BCB3_0FF4_11D2_AEF9_204C4F4F5020__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?