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

ActiveX/DCOM/ATL

开发平台:

Visual C++

  1. /************************************
  2.   REVISION LOG ENTRY
  3.   Revision By: Mihai Filimon
  4.   Revised on 10/13/98 2:28:22 PM
  5.   Comments: XPropertiesWndPpg.h : Declaration of the CXPropertiesWndPropPage property page class.
  6.  ************************************/
  7. //{{AFX_INCLUDES()
  8. #include "XFloorPropertiesWndDesign.h"
  9. #include "HighLightButton.h"
  10. #include "ModalEdit.h"
  11. //}}AFX_INCLUDES
  12. #include <afxcmn.h>
  13. #if !defined(AFX_XPROPERTIESWNDPPG_H__7B914A6B_6271_11D2_86B8_0040055C08D9__INCLUDED_)
  14. #define AFX_XPROPERTIESWNDPPG_H__7B914A6B_6271_11D2_86B8_0040055C08D9__INCLUDED_
  15. #if _MSC_VER >= 1000
  16. #pragma once
  17. #endif // _MSC_VER >= 1000
  18. ////////////////////////////////////////////////////////////////////////////
  19. // CXPropertiesWndPropPage : See XPropertiesWndPpg.cpp.cpp for implementation.
  20. class CXPropertiesWndPropPage : public COlePropertyPage
  21. {
  22. DECLARE_DYNCREATE(CXPropertiesWndPropPage)
  23. DECLARE_OLECREATE_EX(CXPropertiesWndPropPage)
  24. friend class CXFloorPropertiesWndDesign;
  25. // Constructor
  26. public:
  27. virtual void Refresh();
  28. static LRESULT CALLBACK CallWndProcHookParent( int nCode, WPARAM wParam, LPARAM lParam);
  29. static CXPropertiesWndPropPage* m_pThis;
  30. HHOOK m_hHook;
  31. CXPropertiesWndPropPage();
  32. virtual BOOL PreTranslateMessage( MSG* pMsg );
  33. // Dialog Data
  34. //{{AFX_DATA(CXPropertiesWndPropPage)
  35. enum { IDD = IDD_PROPPAGE_XPROPERTIESWND_PREVIEW };
  36. CModalEdit m_edtRename;
  37. CSliderCtrl m_sldAddDel;
  38. CXFloorPropertiesWndDesign m_xFloorWndPages;
  39. //}}AFX_DATA
  40. // Implementation
  41. protected:
  42. virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  43. // Message maps
  44. protected:
  45. virtual void RenamePage(int nIndex);
  46. virtual void DeletePage();
  47. virtual void AddPage();
  48. //{{AFX_MSG(CXPropertiesWndPropPage)
  49. virtual BOOL OnInitDialog();
  50. afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
  51. afx_msg void OnClickOnActivePageXfloorwndctrlPages(short nIndex);
  52. DECLARE_EVENTSINK_MAP()
  53. //}}AFX_MSG
  54. DECLARE_MESSAGE_MAP()
  55. private:
  56. int m_nRenamePage;
  57. };
  58. //{{AFX_INSERT_LOCATION}}
  59. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  60. #endif // !defined(AFX_XPROPERTIESWNDPPG_H__7B914A6B_6271_11D2_86B8_0040055C08D9__INCLUDED)