Leaked source code of windows server 2003
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.

109 lines
3.4 KiB

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