home *** CD-ROM | disk | FTP | other *** search
/ HTBasic 9.3 / HTBasic 9.3.iso / 83win / data1.cab / DLL_Toolkit / Source / HTBSlider / SliderDlg.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-03-02  |  1.5 KB  |  62 lines

  1. #if !defined(AFX_SLIDERDLG_H__6847E12E_5C95_11D3_A911_00104B9A4FD0__INCLUDED_)
  2. #define AFX_SLIDERDLG_H__6847E12E_5C95_11D3_A911_00104B9A4FD0__INCLUDED_
  3.  
  4. #if _MSC_VER > 1000
  5. #pragma once
  6. #endif // _MSC_VER > 1000
  7. // SliderDlg.h : header file
  8. //
  9.  
  10.  
  11. #define WINDOWHEIGHT 140
  12. #define TEXTHEIGHT 15
  13. #define DOUBLETEXTHEIGHT 30
  14. #define SLIDERHEIGHT 30
  15. #define SLIDERYCORD 45
  16. #define HIGHTEXTYCORD 49
  17. #define TWOSPACE 40
  18. #define THREESPACE 60
  19. #define FOURSPACE 80
  20. #define TIMERVAL 100
  21.  
  22. #include "resource.h"
  23.  
  24. /////////////////////////////////////////////////////////////////////////////
  25. // SliderDlg dialog
  26.  
  27. class SliderDlg : public CDialog
  28. {
  29. // Construction
  30. public:
  31.     SliderDlg(CWnd* pParent = NULL);   // standard constructor
  32.  
  33. // Dialog Data
  34.     //{{AFX_DATA(SliderDlg)
  35.     enum { IDD = IDD_DIALOG1 };
  36.     CSliderCtrl    m_Slider;
  37.     //}}AFX_DATA
  38.  
  39.  
  40. // Overrides
  41.     // ClassWizard generated virtual function overrides
  42.     //{{AFX_VIRTUAL(SliderDlg)
  43.     protected:
  44.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  45.     //}}AFX_VIRTUAL
  46.  
  47. // Implementation
  48. protected:
  49.  
  50.     // Generated message map functions
  51.     //{{AFX_MSG(SliderDlg)
  52.     virtual BOOL OnInitDialog();
  53.     afx_msg void OnTimer(UINT nIDEvent);
  54.     //}}AFX_MSG
  55.     DECLARE_MESSAGE_MAP()
  56. };
  57.  
  58. //{{AFX_INSERT_LOCATION}}
  59. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  60.  
  61. #endif // !defined(AFX_SLIDERDLG_H__6847E12E_5C95_11D3_A911_00104B9A4FD0__INCLUDED_)
  62.