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

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