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

  1. // DlgParam.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. // CDlgParams dialog
  15.  
  16. class CDlgParams : public CDialog
  17. {
  18. // Construction
  19. public:
  20.     CDlgParams(CWnd* pParent = NULL);   // standard constructor
  21.  
  22.     void SetInfo(CDaoDatabase* pDB,LPCTSTR lpszQueryDef);
  23. // Dialog Data
  24.     //{{AFX_DATA(CDlgParams)
  25.     enum { IDD = IDD_DIALOG2 };
  26.     CListCtrlEx m_ctlList;
  27.     //}}AFX_DATA
  28.  
  29.  
  30. // Overrides
  31.     // ClassWizard generated virtual function overrides
  32.     //{{AFX_VIRTUAL(CDlgParams)
  33.     protected:
  34.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  35.     //}}AFX_VIRTUAL
  36.  
  37. // Implementation
  38. protected:
  39.     CDaoDatabase* m_pDB;
  40.     CString m_strQueryDef;
  41.  
  42.     // Generated message map functions
  43.     //{{AFX_MSG(CDlgParams)
  44.     virtual BOOL OnInitDialog();
  45.     afx_msg void OnEndlabeleditListview1(NMHDR* pNMHDR, LRESULT* pResult);
  46.     //}}AFX_MSG
  47.     DECLARE_MESSAGE_MAP()
  48. };
  49.