home *** CD-ROM | disk | FTP | other *** search
- #ifndef __PVDATE_H__
- #define __PVDATE_H__
-
- // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
-
- // NOTE: Do not modify the contents of this file. If this class is regenerated by
- // Microsoft Visual C++, your modifications will be overwritten.
-
-
- // Dispatch interfaces referenced by this interface
- class COleFont;
-
- /////////////////////////////////////////////////////////////////////////////
- // CPVDate wrapper class
-
- class CPVDate : public CWnd
- {
- protected:
- DECLARE_DYNCREATE(CPVDate)
- public:
- CLSID const& GetClsid()
- {
- static CLSID const clsid
- = { 0xc0000090, 0xffff, 0x1100, { 0x80, 0x1, 0x0, 0x0, 0x0, 0x0, 0x1, 0x2 } };
- return clsid;
- }
- virtual BOOL Create(LPCTSTR lpszClassName,
- LPCTSTR lpszWindowName, DWORD dwStyle,
- const RECT& rect,
- CWnd* pParentWnd, UINT nID,
- CCreateContext* pContext = NULL)
- { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }
-
- BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
- const RECT& rect, CWnd* pParentWnd, UINT nID,
- CFile* pPersist = NULL, BOOL bStorage = FALSE,
- BSTR bstrLicKey = NULL)
- { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
- pPersist, bStorage, bstrLicKey); }
-
- // Attributes
- public:
- BOOL GetEnableCalendarControl();
- void SetEnableCalendarControl(BOOL);
- short GetDateFormat();
- void SetDateFormat(short);
- CString GetSeparator();
- void SetSeparator(LPCTSTR);
- BOOL GetShowCentury();
- void SetShowCentury(BOOL);
- BOOL GetEnabled();
- void SetEnabled(BOOL);
- OLE_HANDLE GetHWnd();
- void SetHWnd(OLE_HANDLE);
- BOOL GetIgnoreKeyboard();
- void SetIgnoreKeyboard(BOOL);
- short GetAppearance();
- void SetAppearance(short);
- short GetBorderStyle();
- void SetBorderStyle(short);
- short GetDisplayFormat();
- void SetDisplayFormat(short);
- BOOL GetMonthLeadingZero();
- void SetMonthLeadingZero(BOOL);
- BOOL GetDayLeadingZero();
- void SetDayLeadingZero(BOOL);
- BOOL GetUseDefaultFormat();
- void SetUseDefaultFormat(BOOL);
- DATE GetValue();
- void SetValue(DATE);
- DATE Get_Value();
- void Set_Value(DATE);
- COleFont GetFont();
- void SetFont(LPDISPATCH);
- OLE_COLOR GetBackColor();
- void SetBackColor(OLE_COLOR);
- OLE_COLOR GetForeColor();
- void SetForeColor(OLE_COLOR);
-
- // Operations
- public:
- CString GetDateString();
- void SetMonthLiteral(short index, LPCTSTR literal);
- void SetDOWLiteral(LPCTSTR dowString);
- void SetNull();
- BOOL IsNull();
- void AboutBox();
- };
-
- #endif // __PVDATE_H__
-