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 / addqydlg.h < prev    next >
C/C++ Source or Header  |  1998-03-26  |  1KB  |  54 lines

  1. // AddQyDlg.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. // CAddQueryDlg dialog
  15.  
  16. class CAddQueryDlg : public CDialog
  17. {
  18. // Construction
  19. public:
  20.     CDaoQueryDef * m_pQueryDef;
  21.     CDaoDatabase * m_pDatabase;
  22.     void initializer();
  23.     CAddQueryDlg(CDaoDatabase *pDatabase, CString strQueryName, CWnd* pParent = NULL);
  24.     CAddQueryDlg(CWnd* pParent = NULL);   // standard constructor
  25.  
  26.     CDaoQueryDefInfo m_QI;
  27.  
  28. // Dialog Data
  29.     //{{AFX_DATA(CAddQueryDlg)
  30.     enum { IDD = IDD_ADD_QUERYDEF_DLG };
  31.     //}}AFX_DATA
  32.  
  33.  
  34. // Overrides
  35.     // ClassWizard generated virtual function overrides
  36.     //{{AFX_VIRTUAL(CAddQueryDlg)
  37.     protected:
  38.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  39.     //}}AFX_VIRTUAL
  40.  
  41. // Implementation
  42. protected:
  43.  
  44.     // Generated message map functions
  45.     //{{AFX_MSG(CAddQueryDlg)
  46.     virtual BOOL OnInitDialog();
  47.     afx_msg void OnAddQueryDef();
  48.     afx_msg void OnDeleteQuerydef();
  49.     afx_msg void OnDone();
  50.     afx_msg void OnModifyQueryDef();
  51.     //}}AFX_MSG
  52.     DECLARE_MESSAGE_MAP()
  53. };
  54.