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.

98 lines
2.6 KiB

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