home *** CD-ROM | disk | FTP | other *** search
- // 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.
-
-
- #include "stdafx.h"
- #include "pvcalendar.h"
-
- // Dispatch interfaces referenced by this interface
- #include "font.h"
-
- /////////////////////////////////////////////////////////////////////////////
- // CPVCalendar
-
- IMPLEMENT_DYNCREATE(CPVCalendar, CWnd)
-
- /////////////////////////////////////////////////////////////////////////////
- // CPVCalendar properties
-
- short CPVCalendar::GetAppearance()
- {
- short result;
- GetProperty(DISPID_APPEARANCE, VT_I2, (void*)&result);
- return result;
- }
-
- void CPVCalendar::SetAppearance(short propVal)
- {
- SetProperty(DISPID_APPEARANCE, VT_I2, propVal);
- }
-
- short CPVCalendar::GetBorderStyle()
- {
- short result;
- GetProperty(DISPID_BORDERSTYLE, VT_I2, (void*)&result);
- return result;
- }
-
- void CPVCalendar::SetBorderStyle(short propVal)
- {
- SetProperty(DISPID_BORDERSTYLE, VT_I2, propVal);
- }
-
- BOOL CPVCalendar::GetEnabled()
- {
- BOOL result;
- GetProperty(DISPID_ENABLED, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CPVCalendar::SetEnabled(BOOL propVal)
- {
- SetProperty(DISPID_ENABLED, VT_BOOL, propVal);
- }
-
- COleFont CPVCalendar::GetFont()
- {
- LPDISPATCH pDispatch;
- GetProperty(DISPID_FONT, VT_DISPATCH, (void*)&pDispatch);
- return COleFont(pDispatch);
- }
-
- void CPVCalendar::SetFont(LPDISPATCH propVal)
- {
- SetProperty(DISPID_FONT, VT_DISPATCH, propVal);
- }
-
- OLE_HANDLE CPVCalendar::GetHWnd()
- {
- OLE_HANDLE result;
- GetProperty(DISPID_HWND, VT_I4, (void*)&result);
- return result;
- }
-
- void CPVCalendar::SetHWnd(OLE_HANDLE propVal)
- {
- SetProperty(DISPID_HWND, VT_I4, propVal);
- }
-
- BOOL CPVCalendar::GetEnableYearEdit()
- {
- BOOL result;
- GetProperty(0x1, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CPVCalendar::SetEnableYearEdit(BOOL propVal)
- {
- SetProperty(0x1, VT_BOOL, propVal);
- }
-
- BOOL CPVCalendar::GetEnablePeriodEdit()
- {
- BOOL result;
- GetProperty(0x2, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CPVCalendar::SetEnablePeriodEdit(BOOL propVal)
- {
- SetProperty(0x2, VT_BOOL, propVal);
- }
-
- BOOL CPVCalendar::GetAutoSizeFont()
- {
- BOOL result;
- GetProperty(0x3, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CPVCalendar::SetAutoSizeFont(BOOL propVal)
- {
- SetProperty(0x3, VT_BOOL, propVal);
- }
-
- short CPVCalendar::GetFormat()
- {
- short result;
- GetProperty(0x4, VT_I2, (void*)&result);
- return result;
- }
-
- void CPVCalendar::SetFormat(short propVal)
- {
- SetProperty(0x4, VT_I2, propVal);
- }
-
- unsigned long CPVCalendar::GetSundayColor()
- {
- unsigned long result;
- GetProperty(0x5, VT_I4, (void*)&result);
- return result;
- }
-
- void CPVCalendar::SetSundayColor(unsigned long propVal)
- {
- SetProperty(0x5, VT_I4, propVal);
- }
-
- unsigned long CPVCalendar::GetSundayBkColor()
- {
- unsigned long result;
- GetProperty(0x6, VT_I4, (void*)&result);
- return result;
- }
-
- void CPVCalendar::SetSundayBkColor(unsigned long propVal)
- {
- SetProperty(0x6, VT_I4, propVal);
- }
-
- DATE CPVCalendar::GetValue()
- {
- DATE result;
- GetProperty(0x7, VT_DATE, (void*)&result);
- return result;
- }
-
- void CPVCalendar::SetValue(DATE propVal)
- {
- SetProperty(0x7, VT_DATE, propVal);
- }
-
- DATE CPVCalendar::Get_Value()
- {
- DATE result;
- GetProperty(0x0, VT_DATE, (void*)&result);
- return result;
- }
-
- void CPVCalendar::Set_Value(DATE propVal)
- {
- SetProperty(0x0, VT_DATE, propVal);
- }
-
- BOOL CPVCalendar::GetReadOnly()
- {
- BOOL result;
- GetProperty(0x8, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CPVCalendar::SetReadOnly(BOOL propVal)
- {
- SetProperty(0x8, VT_BOOL, propVal);
- }
-
- unsigned long CPVCalendar::GetBkDayColor()
- {
- unsigned long result;
- GetProperty(0x9, VT_I4, (void*)&result);
- return result;
- }
-
- void CPVCalendar::SetBkDayColor(unsigned long propVal)
- {
- SetProperty(0x9, VT_I4, propVal);
- }
-
- unsigned long CPVCalendar::GetDayColor()
- {
- unsigned long result;
- GetProperty(0xa, VT_I4, (void*)&result);
- return result;
- }
-
- void CPVCalendar::SetDayColor(unsigned long propVal)
- {
- SetProperty(0xa, VT_I4, propVal);
- }
-
- unsigned long CPVCalendar::GetHighlightColor()
- {
- unsigned long result;
- GetProperty(0xb, VT_I4, (void*)&result);
- return result;
- }
-
- void CPVCalendar::SetHighlightColor(unsigned long propVal)
- {
- SetProperty(0xb, VT_I4, propVal);
- }
-
- unsigned long CPVCalendar::GetBkHighlightColor()
- {
- unsigned long result;
- GetProperty(0xc, VT_I4, (void*)&result);
- return result;
- }
-
- void CPVCalendar::SetBkHighlightColor(unsigned long propVal)
- {
- SetProperty(0xc, VT_I4, propVal);
- }
-
- /////////////////////////////////////////////////////////////////////////////
- // CPVCalendar operations
-
- void CPVCalendar::AboutBox()
- {
- InvokeHelper(0xfffffdd8, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
-