home *** CD-ROM | disk | FTP | other *** search
/ QBasic & Borland Pascal & C / Delphi5.iso / Basic / Visual Basic.60 / COMMON / TOOLS / VCM / VCM.MDB / VcmComponentContainer / 11_Cabinet / SLIDCTRL.H < prev    next >
Encoding:
C/C++ Source or Header  |  1998-05-18  |  2.1 KB  |  85 lines

  1. // SlidCtrl.h : header file
  2. //
  3.  
  4. // This is a part of the Microsoft Foundation Classes C++ library.
  5. // Copyright (C) 1992-1998 Microsoft Corporation
  6. // All rights reserved.
  7. //
  8. // This source code is only intended as a supplement to the
  9. // Microsoft Foundation Classes Reference and related
  10. // electronic documentation provided with the library.
  11. // See these sources for detailed information regarding the
  12. // Microsoft Foundation Classes product.
  13.  
  14. /////////////////////////////////////////////////////////////////////////////
  15. // CSliderCtrlPage dialog
  16. #ifndef INC_SLIDCTRL_H
  17. #define INC_SLIDCTRL_H
  18.  
  19. class CSliderCtrlPage : public CPropertyPage
  20. {
  21.     DECLARE_DYNCREATE(CSliderCtrlPage)
  22.  
  23. // Construction
  24. public:
  25.     CSliderCtrlPage();
  26.     ~CSliderCtrlPage();
  27.  
  28. // Dialog Data
  29.     //{{AFX_DATA(CSliderCtrlPage)
  30.     enum { IDD = IDD_SLIDERCTRL };
  31.     CStatic m_Notifications;
  32.     BOOL    m_bAutoticks;
  33.     BOOL    m_bEnablesel;
  34.     BOOL    m_bFixed;
  35.     UINT    m_uiLine;
  36.     BOOL    m_bNothumb;
  37.     BOOL    m_bNoticks;
  38.     int     m_iOrientation;
  39.     UINT    m_uiPage;
  40.     int     m_iTickpos;
  41.     UINT    m_uiRangeFrom;
  42.     UINT    m_uiRangeTo;
  43.     UINT    m_uiSelRangeFrom;
  44.     UINT    m_uiSelRangeTo;
  45.     UINT    m_uiTickFreq;
  46.     //}}AFX_DATA
  47.  
  48.     CSliderCtrl m_Slider;
  49.  
  50. // Overrides
  51.     // ClassWizard generate virtual function overrides
  52.     //{{AFX_VIRTUAL(CSliderCtrlPage)
  53.     protected:
  54.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  55.     virtual BOOL OnInitDialog();
  56.     //}}AFX_VIRTUAL
  57.  
  58. // Implementation
  59. protected:
  60.     void ChangeCtrlStyle(long lStyle,BOOL bSetBit=TRUE);
  61.  
  62.     // Generated message map functions
  63.     //{{AFX_MSG(CSliderCtrlPage)
  64.     afx_msg void OnAutoticks();
  65.     afx_msg void OnTickfreq();
  66.     afx_msg void OnNoticks();
  67.     afx_msg void OnNothumb();
  68.     afx_msg void OnFixed();
  69.     afx_msg void OnEnablesel();
  70.     afx_msg void OnLine();
  71.     afx_msg void OnPage();
  72.     afx_msg void OnRangefrom();
  73.     afx_msg void OnRangeto();
  74.     afx_msg void OnOrientation();
  75.     afx_msg void OnPoint();
  76.     afx_msg void OnSelrangefrom();
  77.     afx_msg void OnSelrangeto();
  78. //  afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
  79.     //}}AFX_MSG
  80.     DECLARE_MESSAGE_MAP()
  81.  
  82. };
  83.  
  84. #endif
  85.