Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

105 lines
3.0 KiB

  1. #ifndef __MSACAL70_H__
  2. #define __MSACAL70_H__
  3. // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
  4. // NOTE: Do not modify the contents of this file. If this class is regenerated by
  5. // Microsoft Visual C++, your modifications will be overwritten.
  6. // Dispatch interfaces referenced by this interface
  7. class COleFont;
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CMsacal70 wrapper class
  10. class CMsacal70 : public CWnd
  11. {
  12. protected:
  13. DECLARE_DYNCREATE(CMsacal70)
  14. public:
  15. CLSID const& GetClsid()
  16. {
  17. static CLSID const clsid
  18. = { 0x8e27c92b, 0x1264, 0x101c, { 0x8a, 0x2f, 0x4, 0x2, 0x24, 0x0, 0x9c, 0x2 } };
  19. return clsid;
  20. }
  21. virtual BOOL Create(LPCTSTR lpszClassName,
  22. LPCTSTR lpszWindowName, DWORD dwStyle,
  23. const RECT& rect,
  24. CWnd* pParentWnd, UINT nID,
  25. CCreateContext* pContext = NULL)
  26. { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }
  27. BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
  28. const RECT& rect, CWnd* pParentWnd, UINT nID,
  29. CFile* pPersist = NULL, BOOL bStorage = FALSE,
  30. BSTR bstrLicKey = NULL)
  31. { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
  32. pPersist, bStorage, bstrLicKey); }
  33. // Attributes
  34. public:
  35. OLE_COLOR GetBackColor();
  36. void SetBackColor(OLE_COLOR);
  37. short GetDay();
  38. void SetDay(short);
  39. COleFont GetDayFont();
  40. void SetDayFont(LPDISPATCH);
  41. unsigned long GetDayFontColor();
  42. void SetDayFontColor(unsigned long);
  43. short GetDayLength();
  44. void SetDayLength(short);
  45. short GetFirstDay();
  46. void SetFirstDay(short);
  47. long GetGridCellEffect();
  48. void SetGridCellEffect(long);
  49. COleFont GetGridFont();
  50. void SetGridFont(LPDISPATCH);
  51. unsigned long GetGridFontColor();
  52. void SetGridFontColor(unsigned long);
  53. unsigned long GetGridLinesColor();
  54. void SetGridLinesColor(unsigned long);
  55. short GetMonth();
  56. void SetMonth(short);
  57. short GetMonthLength();
  58. void SetMonthLength(short);
  59. BOOL GetShowDateSelectors();
  60. void SetShowDateSelectors(BOOL);
  61. BOOL GetShowDays();
  62. void SetShowDays(BOOL);
  63. BOOL GetShowHorizontalGrid();
  64. void SetShowHorizontalGrid(BOOL);
  65. BOOL GetShowTitle();
  66. void SetShowTitle(BOOL);
  67. BOOL GetShowVerticalGrid();
  68. void SetShowVerticalGrid(BOOL);
  69. COleFont GetTitleFont();
  70. void SetTitleFont(LPDISPATCH);
  71. unsigned long GetTitleFontColor();
  72. void SetTitleFontColor(unsigned long);
  73. VARIANT GetValue();
  74. void SetValue(const VARIANT&);
  75. VARIANT Get_Value();
  76. void Set_Value(const VARIANT&);
  77. BOOL GetValueIsNull();
  78. void SetValueIsNull(BOOL);
  79. short GetYear();
  80. void SetYear(short);
  81. // Operations
  82. public:
  83. void NextDay();
  84. void NextMonth();
  85. void NextWeek();
  86. void NextYear();
  87. void PreviousDay();
  88. void PreviousMonth();
  89. void PreviousWeek();
  90. void PreviousYear();
  91. void Refresh();
  92. void Today();
  93. void AboutBox();
  94. };
  95. #endif // __MSACAL70_H__