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 "pvdate.h"
-
- // Dispatch interfaces referenced by this interface
- #include "font.h"
-
- /////////////////////////////////////////////////////////////////////////////
- // CPVDate
-
- IMPLEMENT_DYNCREATE(CPVDate, CWnd)
-
- /////////////////////////////////////////////////////////////////////////////
- // CPVDate properties
-
- BOOL CPVDate::GetEnableCalendarControl()
- {
- BOOL result;
- GetProperty(0x1, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CPVDate::SetEnableCalendarControl(BOOL propVal)
- {
- SetProperty(0x1, VT_BOOL, propVal);
- }
-
- short CPVDate::GetDateFormat()
- {
- short result;
- GetProperty(0x2, VT_I2, (void*)&result);
- return result;
- }
-
- void CPVDate::SetDateFormat(short propVal)
- {
- SetProperty(0x2, VT_I2, propVal);
- }
-
- CString CPVDate::GetSeparator()
- {
- CString result;
- GetProperty(0x3, VT_BSTR, (void*)&result);
- return result;
- }
-
- void CPVDate::SetSeparator(LPCTSTR propVal)
- {
- SetProperty(0x3, VT_BSTR, propVal);
- }
-
- BOOL CPVDate::GetShowCentury()
- {
- BOOL result;
- GetProperty(0x4, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CPVDate::SetShowCentury(BOOL propVal)
- {
- SetProperty(0x4, VT_BOOL, propVal);
- }
-
- BOOL CPVDate::GetEnabled()
- {
- BOOL result;
- GetProperty(DISPID_ENABLED, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CPVDate::SetEnabled(BOOL propVal)
- {
- SetProperty(DISPID_ENABLED, VT_BOOL, propVal);
- }
-
- OLE_HANDLE CPVDate::GetHWnd()
- {
- OLE_HANDLE result;
- GetProperty(DISPID_HWND, VT_I4, (void*)&result);
- return result;
- }
-
- void CPVDate::SetHWnd(OLE_HANDLE propVal)
- {
- SetProperty(DISPID_HWND, VT_I4, propVal);
- }
-
- BOOL CPVDate::GetIgnoreKeyboard()
- {
- BOOL result;
- GetProperty(0x5, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CPVDate::SetIgnoreKeyboard(BOOL propVal)
- {
- SetProperty(0x5, VT_BOOL, propVal);
- }
-
- short CPVDate::GetAppearance()
- {
- short result;
- GetProperty(DISPID_APPEARANCE, VT_I2, (void*)&result);
- return result;
- }
-
- void CPVDate::SetAppearance(short propVal)
- {
- SetProperty(DISPID_APPEARANCE, VT_I2, propVal);
- }
-
- short CPVDate::GetBorderStyle()
- {
- short result;
- GetProperty(DISPID_BORDERSTYLE, VT_I2, (void*)&result);
- return result;
- }
-
- void CPVDate::SetBorderStyle(short propVal)
- {
- SetProperty(DISPID_BORDERSTYLE, VT_I2, propVal);
- }
-
- short CPVDate::GetDisplayFormat()
- {
- short result;
- GetProperty(0x6, VT_I2, (void*)&result);
- return result;
- }
-
- void CPVDate::SetDisplayFormat(short propVal)
- {
- SetProperty(0x6, VT_I2, propVal);
- }
-
- BOOL CPVDate::GetMonthLeadingZero()
- {
- BOOL result;
- GetProperty(0x7, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CPVDate::SetMonthLeadingZero(BOOL propVal)
- {
- SetProperty(0x7, VT_BOOL, propVal);
- }
-
- BOOL CPVDate::GetDayLeadingZero()
- {
- BOOL result;
- GetProperty(0x8, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CPVDate::SetDayLeadingZero(BOOL propVal)
- {
- SetProperty(0x8, VT_BOOL, propVal);
- }
-
- BOOL CPVDate::GetUseDefaultFormat()
- {
- BOOL result;
- GetProperty(0x9, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CPVDate::SetUseDefaultFormat(BOOL propVal)
- {
- SetProperty(0x9, VT_BOOL, propVal);
- }
-
- DATE CPVDate::GetValue()
- {
- DATE result;
- GetProperty(0xa, VT_DATE, (void*)&result);
- return result;
- }
-
- void CPVDate::SetValue(DATE propVal)
- {
- SetProperty(0xa, VT_DATE, propVal);
- }
-
- DATE CPVDate::Get_Value()
- {
- DATE result;
- GetProperty(0x0, VT_DATE, (void*)&result);
- return result;
- }
-
- void CPVDate::Set_Value(DATE propVal)
- {
- SetProperty(0x0, VT_DATE, propVal);
- }
-
- COleFont CPVDate::GetFont()
- {
- LPDISPATCH pDispatch;
- GetProperty(DISPID_FONT, VT_DISPATCH, (void*)&pDispatch);
- return COleFont(pDispatch);
- }
-
- void CPVDate::SetFont(LPDISPATCH propVal)
- {
- SetProperty(DISPID_FONT, VT_DISPATCH, propVal);
- }
-
- OLE_COLOR CPVDate::GetBackColor()
- {
- OLE_COLOR result;
- GetProperty(DISPID_BACKCOLOR, VT_I4, (void*)&result);
- return result;
- }
-
- void CPVDate::SetBackColor(OLE_COLOR propVal)
- {
- SetProperty(DISPID_BACKCOLOR, VT_I4, propVal);
- }
-
- OLE_COLOR CPVDate::GetForeColor()
- {
- OLE_COLOR result;
- GetProperty(DISPID_FORECOLOR, VT_I4, (void*)&result);
- return result;
- }
-
- void CPVDate::SetForeColor(OLE_COLOR propVal)
- {
- SetProperty(DISPID_FORECOLOR, VT_I4, propVal);
- }
-
- /////////////////////////////////////////////////////////////////////////////
- // CPVDate operations
-
- CString CPVDate::GetDateString()
- {
- CString result;
- InvokeHelper(0xb, DISPATCH_METHOD, VT_BSTR, (void*)&result, NULL);
- return result;
- }
-
- void CPVDate::SetMonthLiteral(short index, LPCTSTR literal)
- {
- static BYTE parms[] =
- VTS_I2 VTS_BSTR;
- InvokeHelper(0xc, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- index, literal);
- }
-
- void CPVDate::SetDOWLiteral(LPCTSTR dowString)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0xd, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- dowString);
- }
-
- void CPVDate::SetNull()
- {
- InvokeHelper(0xe, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
-
- BOOL CPVDate::IsNull()
- {
- BOOL result;
- InvokeHelper(0xf, DISPATCH_METHOD, VT_BOOL, (void*)&result, NULL);
- return result;
- }
-
- void CPVDate::AboutBox()
- {
- InvokeHelper(0xfffffdd8, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
-