home *** CD-ROM | disk | FTP | other *** search
- #ifndef __PVTIME_H__
- #define __PVTIME_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;
-
- /////////////////////////////////////////////////////////////////////////////
- // CPVTime wrapper class
-
- class CPVTime : public CWnd
- {
- protected:
- DECLARE_DYNCREATE(CPVTime)
- public:
- CLSID const& GetClsid()
- {
- static CLSID const clsid
- = { 0x8f25c903, 0x8346, 0x11cf, { 0xaa, 0xcd, 0x44, 0x45, 0x53, 0x54, 0x0, 0x0 } };
- 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:
- short GetAppearance();
- void SetAppearance(short);
- short GetBorderStyle();
- void SetBorderStyle(short);
- BOOL GetEnabled();
- void SetEnabled(BOOL);
- COleFont GetFont();
- void SetFont(LPDISPATCH);
- OLE_HANDLE GetHWnd();
- void SetHWnd(OLE_HANDLE);
- short GetDisplayStyle();
- void SetDisplayStyle(short);
- BOOL GetShowSeconds();
- void SetShowSeconds(BOOL);
- BOOL GetNoHideSel();
- void SetNoHideSel(BOOL);
- BOOL GetReadOnly();
- void SetReadOnly(BOOL);
- short GetHour();
- void SetHour(short);
- short GetMinute();
- void SetMinute(short);
- short GetSecond();
- void SetSecond(short);
- CString GetTime();
- void SetTime(LPCTSTR);
- BOOL GetUseDefaultFormat();
- void SetUseDefaultFormat(BOOL);
- CString GetSeparatorCharacter();
- void SetSeparatorCharacter(LPCTSTR);
- BOOL GetLeadZero();
- void SetLeadZero(BOOL);
- BOOL GetTwentyFourHourClock();
- void SetTwentyFourHourClock(BOOL);
- CString GetAMString();
- void SetAMString(LPCTSTR);
- CString GetPMString();
- void SetPMString(LPCTSTR);
- OLE_COLOR GetForeColor();
- void SetForeColor(OLE_COLOR);
- OLE_COLOR GetBackColor();
- void SetBackColor(OLE_COLOR);
-
- // Operations
- public:
- void StartClock();
- void StopClock();
- void AboutBox();
- };
-
- #endif // __PVTIME_H__
-