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

  1. // AddDbDlg.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. // CAddDatabaseDlg dialog
  15.  
  16. class CAddDatabaseDlg : public CDialog
  17. {
  18. // Construction
  19. public:
  20.     CDaoDatabase ** m_ppDatabase;
  21.     void initializer();
  22.     CAddDatabaseDlg(CDaoDatabase **ppDatabase, CString strDatabaseName, CWnd *pParent = NULL);
  23.     CAddDatabaseDlg(CWnd* pParent = NULL);   // standard constructor
  24.  
  25. // Dialog Data
  26.     //{{AFX_DATA(CAddDatabaseDlg)
  27.     enum { IDD = IDD_ADD_DATABASE_DLG };
  28.     CString m_strDatabaseName;
  29.     BOOL    m_bEncrypt;
  30.     int     m_nVersion;
  31.     //}}AFX_DATA
  32.  
  33.  
  34. // Overrides
  35.     // ClassWizard generated virtual function overrides
  36.     //{{AFX_VIRTUAL(CAddDatabaseDlg)
  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(CAddDatabaseDlg)
  46.     virtual void OnOK();
  47.     //}}AFX_MSG
  48.     DECLARE_MESSAGE_MAP()
  49. };
  50.