ProceduresDlg.h
上传用户:jsxglz
上传日期:2007-01-03
资源大小:117k
文件大小:2k
源码类别:

SQL Server

开发平台:

Visual C++

  1. #if !defined(AFX_PROCEDURESDLG_H__CF685183_91E1_11D2_BD39_204C4F4F5020__INCLUDED_)
  2. #define AFX_PROCEDURESDLG_H__CF685183_91E1_11D2_BD39_204C4F4F5020__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // ProceduresDlg.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CProceduresDlg dialog
  10. class CProceduresDlg : public CDialog
  11. {
  12. // Construction
  13. public:
  14. CString m_strProcedureName;
  15. CProceduresDlg(CWnd* pParent = NULL);   // standard constructor
  16. // Dialog Data
  17. //{{AFX_DATA(CProceduresDlg)
  18. enum { IDD = IDD_SELECT_PROCEDURES };
  19. CButton m_buttonSystemTables;
  20. CListCtrlEx m_ctrlList;
  21. CString m_strSearch;
  22. //}}AFX_DATA
  23. // Overrides
  24. // ClassWizard generated virtual function overrides
  25. //{{AFX_VIRTUAL(CProceduresDlg)
  26. protected:
  27. virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  28. //}}AFX_VIRTUAL
  29. // Implementation
  30. protected:
  31. // Generated message map functions
  32. //{{AFX_MSG(CProceduresDlg)
  33. virtual BOOL OnInitDialog();
  34. afx_msg void OnDblclkList1(NMHDR* pNMHDR, LRESULT* pResult);
  35. virtual void OnOK();
  36. afx_msg void OnItemchangedList1(NMHDR* pNMHDR, LRESULT* pResult);
  37. afx_msg void OnColumnclickList1(NMHDR* pNMHDR, LRESULT* pResult);
  38. afx_msg void OnChangeSearch();
  39. //}}AFX_MSG
  40. DECLARE_MESSAGE_MAP()
  41. private:
  42. BOOL PopulateListTheNativeWay(const CString& sSQL);
  43. bool m_bSort;
  44. int m_nSelectedItem;
  45. BOOL PopulateList();
  46. };
  47. //{{AFX_INSERT_LOCATION}}
  48. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  49. #endif // !defined(AFX_PROCEDURESDLG_H__CF685183_91E1_11D2_BD39_204C4F4F5020__INCLUDED_)