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

  1. // columdlg.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. /////////////////////////////////////////////////////////////////////////////
  15. // CColSyntaxDlg dialog
  16.  
  17. class CColSyntaxDlg : public CDialog
  18. {
  19. // Construction
  20. public:
  21.     CColSyntaxDlg(CWnd* pParent = NULL);   // standard constructor
  22.  
  23. // Dialog Data
  24.     //{{AFX_DATA(CColSyntaxDlg)
  25.     enum { IDD = IDD_COLUMN_SYNTAX_DLG };
  26.     CButton m_ctlOK;
  27.     CListBox    m_ctlTypeInfoList;
  28.     CString m_strSyntax;
  29.     CString m_strListBoxInstruction;
  30.     CString m_strColTypeInstruction;
  31.     //}}AFX_DATA
  32.  
  33.     CMapSQLTypeToSyntax* m_pMapSQLTypeToSyntax;
  34.     POSITION m_posMapSQLTypeToSyntax;
  35.     SWORD m_swCurrentSQLType;
  36.  
  37. // Overrides
  38.     // ClassWizard generate virtual function overrides
  39.     //{{AFX_VIRTUAL(CColSyntaxDlg)
  40.     protected:
  41.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  42.     virtual void OnOK();
  43.     //}}AFX_VIRTUAL
  44.  
  45. // Implementation
  46. protected:
  47.     void GetNextSQLTypeAndUpdateControls();
  48.     void FillTypeInfoListbox();
  49.  
  50.     // Generated message map functions
  51.     //{{AFX_MSG(CColSyntaxDlg)
  52.     virtual BOOL OnInitDialog();
  53.     //}}AFX_MSG
  54.     DECLARE_MESSAGE_MAP()
  55. };
  56.