home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / mfc / database / daotable / daotdlg.h < prev    next >
C/C++ Source or Header  |  1998-03-26  |  2KB  |  64 lines

  1. // DAOTDlg.h : header file
  2. //
  3. // This is a part of the Microsoft Foundation Classes C++ library.
  4. // Copyright (C) 1992-1998 Microsoft Corporation
  5. // All rights reserved.
  6. //
  7. // This source code is only intended as a supplement to the
  8. // Microsoft Foundation Classes Reference and related
  9. // electronic documentation provided with the library.
  10. // See these sources for detailed information regarding the
  11. // Microsoft Foundation Classes product.
  12.  
  13. /////////////////////////////////////////////////////////////////////////////
  14. // CDAOTableDlg dialog
  15.  
  16. class CDAOTableDlg : public CDialog
  17. {
  18. // Construction
  19. public:
  20.     void createNewDatabase();
  21.     void enableControlsForOpenDatabase(BOOL bEnable = TRUE);
  22.     CDaoDatabase * m_pDatabase;
  23.     CDAOTableDlg(CWnd* pParent = NULL); // standard constructor
  24.  
  25. // Dialog Data
  26.     //{{AFX_DATA(CDAOTableDlg)
  27.     enum { IDD = IDD_DAOTABLE_DIALOG };
  28.     CComboBox   m_QueryNameComboControl;
  29.     CComboBox   m_TableNameComboControl;
  30.     CString m_strDatabaseName;
  31.     CString m_strTableName;
  32.     CString m_strQueryName;
  33.     //}}AFX_DATA
  34.  
  35.     // ClassWizard generated virtual function overrides
  36.     //{{AFX_VIRTUAL(CDAOTableDlg)
  37.     protected:
  38.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  39.     //}}AFX_VIRTUAL
  40.  
  41. // Implementation
  42. protected:
  43.     HICON m_hIcon;
  44.  
  45.     // Generated message map functions
  46.     //{{AFX_MSG(CDAOTableDlg)
  47.     virtual BOOL OnInitDialog();
  48.     afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
  49.     afx_msg void OnDestroy();
  50.     afx_msg void OnPaint();
  51.     afx_msg HCURSOR OnQueryDragIcon();
  52.     afx_msg void OnButtonConnect();
  53.     virtual void OnCancel();
  54.     virtual void OnOK();
  55.     afx_msg void OnButtonTableFields();
  56.     afx_msg void OnButtonTableIndexes();
  57.     afx_msg void OnButtonQueryDefinition();
  58.     afx_msg void OnDropdownComboTableName();
  59.     afx_msg void OnDropdownComboQueryName();
  60.     afx_msg void OnButtonDeleteTable();
  61.     //}}AFX_MSG
  62.     DECLARE_MESSAGE_MAP()
  63. };
  64.