home *** CD-ROM | disk | FTP | other *** search
/ Mastering MFC Development / MMD.ISO / samples / c08 / where / querydlg.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-02-20  |  922 b   |  42 lines

  1. // QueryDlg.h : header file
  2. //
  3.  
  4. /////////////////////////////////////////////////////////////////////////////
  5. // CQueryDlg dialog
  6.  
  7. class CQueryDlg : public CDialog
  8. {
  9. // Construction
  10. public:
  11.     CDaoRecordset* m_pSet;
  12.     CQueryDlg(CWnd* pParent = NULL);   // standard constructor
  13.  
  14. // Dialog Data
  15.     //{{AFX_DATA(CQueryDlg)
  16.     enum { IDD = IDD_QUERY };
  17.     CComboBox    m_ctlOperation;
  18.     CComboBox    m_ctlFieldName;
  19.     CEdit    m_ctlWhere;
  20.     CString    m_strWhere;
  21.     //}}AFX_DATA
  22.  
  23.  
  24. // Overrides
  25.     // ClassWizard generated virtual function overrides
  26.     //{{AFX_VIRTUAL(CQueryDlg)
  27.     protected:
  28.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  29.     //}}AFX_VIRTUAL
  30.  
  31. // Implementation
  32. protected:
  33.  
  34.     // Generated message map functions
  35.     //{{AFX_MSG(CQueryDlg)
  36.     virtual BOOL OnInitDialog();
  37.     afx_msg void OnSelendokFieldName();
  38.     afx_msg void OnSelendokOperation();
  39.     //}}AFX_MSG
  40.     DECLARE_MESSAGE_MAP()
  41. };
  42.