home *** CD-ROM | disk | FTP | other *** search
/ Mastering Visual Basic 6 / mastvb6.iso / leadtools / ocx32.lt / Dualrang.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-01-10  |  1.2 KB  |  52 lines

  1. // dualrang.h : header file
  2. // Copyright (C) 1990, 1998 LEAD Technologies, Inc.
  3. // All rights reserved.
  4.  
  5. /////////////////////////////////////////////////////////////////////////////
  6. // CDualRangeDlg dialog
  7.  
  8. class CDualRangeDlg : public CDialog
  9. {
  10. // Construction
  11. public:
  12.     CDualRangeDlg(CWnd* pParent = NULL);   // standard constructor
  13.  
  14. // Dialog Data
  15.     //{{AFX_DATA(CDualRangeDlg)
  16.     enum { IDD = IDD_DUALRANGE };
  17.     CScrollBar    m_ScrollBar2;
  18.     CScrollBar    m_ScrollBar1;
  19.     CString    m_strLabel1;
  20.     CString    m_strLabel2;
  21.     CString    m_strTitle;
  22.     int        m_nValue1;
  23.     int        m_nValue2;
  24.     int        m_nMin;
  25.     int        m_nMax;
  26.    int      m_nStep;
  27.    int      m_nPage;
  28.     //}}AFX_DATA
  29.  
  30.  
  31. // Overrides
  32.     // ClassWizard generated virtual function overrides
  33.     //{{AFX_VIRTUAL(CDualRangeDlg)
  34.     protected:
  35.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  36.     //}}AFX_VIRTUAL
  37.  
  38. // Implementation
  39. protected:
  40.    BOOL GetValue(BOOL fFirst);
  41.    void SetValue(BOOL fFirst);
  42.  
  43.     // Generated message map functions
  44.     //{{AFX_MSG(CDualRangeDlg)
  45.     afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
  46.     afx_msg void OnChangeEdit1();
  47.     afx_msg void OnChangeEdit2();
  48.     virtual BOOL OnInitDialog();
  49.     //}}AFX_MSG
  50.     DECLARE_MESSAGE_MAP()
  51. };
  52.