?? calendar.cpp
字號:
// 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 "calendar.h"
/////////////////////////////////////////////////////////////////////////////
// CCalendar
IMPLEMENT_DYNCREATE(CCalendar, CWnd)
/////////////////////////////////////////////////////////////////////////////
// CCalendar properties
OLE_COLOR CCalendar::GetBackColor()
{
OLE_COLOR result;
GetProperty(DISPID_BACKCOLOR, VT_I4, (void*)&result);
return result;
}
void CCalendar::SetBackColor(OLE_COLOR propVal)
{
SetProperty(DISPID_BACKCOLOR, VT_I4, propVal);
}
BOOL CCalendar::GetRedSundays()
{
BOOL result;
GetProperty(0x1, VT_BOOL, (void*)&result);
return result;
}
void CCalendar::SetRedSundays(BOOL propVal)
{
SetProperty(0x1, VT_BOOL, propVal);
}
/////////////////////////////////////////////////////////////////////////////
// CCalendar operations
DATE CCalendar::GetDate()
{
DATE result;
InvokeHelper(0x2, DISPATCH_METHOD, VT_DATE, (void*)&result, NULL);
return result;
}
BOOL CCalendar::SetDate(short nYear, short nMonth, short nDay)
{
BOOL result;
static BYTE parms[] =
VTS_I2 VTS_I2 VTS_I2;
InvokeHelper(0x3, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
nYear, nMonth, nDay);
return result;
}
void CCalendar::AboutBox()
{
InvokeHelper(0xfffffdd8, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -