XFloorWndPpg.h
上传用户:zhout2004
上传日期:2007-01-02
资源大小:218k
文件大小:2k
源码类别:

ActiveX/DCOM/ATL

开发平台:

Visual C++

  1. /************************************
  2.   REVISION LOG ENTRY
  3.   Revision By: Mihai Filimon
  4.   Revised on 10/8/98 5:46:24 PM
  5.   Comments: XFloorWndPpg.h : Declaration of the CXFloorWndPropPage property page class.
  6.  ************************************/
  7. #if !defined(AFX_XFLOORWNDPPG_H__24FFD1FD_5EA9_11D2_86B1_0040055C08D9__INCLUDED_)
  8. #define AFX_XFLOORWNDPPG_H__24FFD1FD_5EA9_11D2_86B1_0040055C08D9__INCLUDED_
  9. #if _MSC_VER >= 1000
  10. #pragma once
  11. #endif // _MSC_VER >= 1000
  12. #include "PagesListCtrl.h"
  13. #include "XFloorWndCtl.h"
  14. ////////////////////////////////////////////////////////////////////////////
  15. // CXFloorWndPropPage : See XFloorWndPpg.cpp.cpp for implementation.
  16. class CXFloorWndPropPage : public COlePropertyPage
  17. {
  18. DECLARE_DYNCREATE(CXFloorWndPropPage)
  19. DECLARE_OLECREATE_EX(CXFloorWndPropPage)
  20. // Constructor
  21. public:
  22. virtual void ConstructPagesAsString();
  23. virtual void DDP_Long(CDataExchange* pDX, long* pValue, LPCTSTR lpszPropertyName);
  24. virtual void DDP_String(CDataExchange* pDX, CString* pValue, LPCTSTR lpszPropertyName);
  25. virtual void OnObjectsChanged( );
  26. CXFloorWndPropPage();
  27. // Dialog Data
  28. //{{AFX_DATA(CXFloorWndPropPage)
  29. enum { IDD = IDD_PROPPAGE_XFLOORWND };
  30. CStatic m_sSleep;
  31. CSliderCtrl m_sliderAnimation;
  32. CPagesListCtrl m_listPages;
  33. int m_bAnimation;
  34. BOOL m_bSign;
  35. BOOL m_bAsPage;
  36. //}}AFX_DATA
  37. // Implementation
  38. protected:
  39. virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  40. // Message maps
  41. protected:
  42. CString m_sPages;
  43. long m_nSleep;
  44. //{{AFX_MSG(CXFloorWndPropPage)
  45. virtual BOOL OnInitDialog();
  46. afx_msg void OnCheckAnimation();
  47. afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
  48. afx_msg void OnCheckSign();
  49. //}}AFX_MSG
  50. DECLARE_MESSAGE_MAP()
  51. private:
  52. void UpdateStatic(BOOL bValue, UINT idStatic);
  53. void UpdateMSecond();
  54. };
  55. //{{AFX_INSERT_LOCATION}}
  56. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  57. #endif // !defined(AFX_XFLOORWNDPPG_H__24FFD1FD_5EA9_11D2_86B1_0040055C08D9__INCLUDED)