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

  1. // fetchDlg.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. // CDbfetchDlg dialog
  15.  
  16. class CDbfetchDlg : public CDialog
  17. {
  18. // Construction
  19. public:
  20.     CDbfetchDlg(CWnd* pParent = NULL);  // standard constructor
  21.  
  22. // Dialog Data
  23.     //{{AFX_DATA(CDbfetchDlg)
  24.     enum { IDD = IDD_DBFETCH_DIALOG };
  25.     CComboBox   m_cbTable;
  26.     CButton m_buttonGetDataSource;
  27.     CButton m_buttonQuit;
  28.     CButton m_buttonGetData;
  29.     //}}AFX_DATA
  30.  
  31.     // ClassWizard generated virtual function overrides
  32.     //{{AFX_VIRTUAL(CDbfetchDlg)
  33.     protected:
  34.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  35.     //}}AFX_VIRTUAL
  36.  
  37. // Attributes
  38. public:
  39.     CDatabase m_db;
  40.  
  41. // Implementation
  42. protected:
  43.     HICON m_hIcon;
  44.  
  45.     // Generated message map functions
  46.     //{{AFX_MSG(CDbfetchDlg)
  47.     virtual BOOL OnInitDialog();
  48.     afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
  49.     afx_msg void OnPaint();
  50.     afx_msg HCURSOR OnQueryDragIcon();
  51.     afx_msg void OnOk();
  52.     virtual void OnCancel();
  53.     afx_msg void OnGetdatasource();
  54.     afx_msg void OnQuitSelect();
  55.     afx_msg void OnGetData();
  56.     //}}AFX_MSG
  57.     DECLARE_MESSAGE_MAP()
  58. };
  59.