⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 _cncalendar.cpp

📁 C语言课程设计案例精编
💻 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 "_cncalendar.h"

/////////////////////////////////////////////////////////////////////////////
// C_CnCalendar

IMPLEMENT_DYNCREATE(C_CnCalendar, CWnd)

/////////////////////////////////////////////////////////////////////////////
// C_CnCalendar properties

/////////////////////////////////////////////////////////////////////////////
// C_CnCalendar operations

unsigned long C_CnCalendar::GetBottomBackColor()
{
	unsigned long result;
	InvokeHelper(0x68030008, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
	return result;
}

void C_CnCalendar::SetBottomBackColor(unsigned long newValue)
{
	static BYTE parms[] =
		VTS_I4;
	InvokeHelper(0x68030008, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
		 newValue);
}

unsigned long C_CnCalendar::GetDateBackColor()
{
	unsigned long result;
	InvokeHelper(0x68030007, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
	return result;
}

void C_CnCalendar::SetDateBackColor(unsigned long newValue)
{
	static BYTE parms[] =
		VTS_I4;
	InvokeHelper(0x68030007, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
		 newValue);
}

unsigned long C_CnCalendar::GetGridLinesColor()
{
	unsigned long result;
	InvokeHelper(0x68030006, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
	return result;
}

void C_CnCalendar::SetGridLinesColor(unsigned long newValue)
{
	static BYTE parms[] =
		VTS_I4;
	InvokeHelper(0x68030006, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
		 newValue);
}

unsigned long C_CnCalendar::GetSelectColor()
{
	unsigned long result;
	InvokeHelper(0x68030005, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
	return result;
}

void C_CnCalendar::SetSelectColor(unsigned long newValue)
{
	static BYTE parms[] =
		VTS_I4;
	InvokeHelper(0x68030005, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
		 newValue);
}

BOOL C_CnCalendar::GetShowVerticalGrid()
{
	BOOL result;
	InvokeHelper(0x68030004, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
	return result;
}

void C_CnCalendar::SetShowVerticalGrid(BOOL bNewValue)
{
	static BYTE parms[] =
		VTS_BOOL;
	InvokeHelper(0x68030004, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
		 bNewValue);
}

BOOL C_CnCalendar::GetShowHorizontalGrid()
{
	BOOL result;
	InvokeHelper(0x68030003, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
	return result;
}

void C_CnCalendar::SetShowHorizontalGrid(BOOL bNewValue)
{
	static BYTE parms[] =
		VTS_BOOL;
	InvokeHelper(0x68030003, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
		 bNewValue);
}

unsigned long C_CnCalendar::GetTitleBackColor()
{
	unsigned long result;
	InvokeHelper(0x68030002, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
	return result;
}

void C_CnCalendar::SetTitleBackColor(unsigned long newValue)
{
	static BYTE parms[] =
		VTS_I4;
	InvokeHelper(0x68030002, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
		 newValue);
}

unsigned long C_CnCalendar::GetWeekBackColor()
{
	unsigned long result;
	InvokeHelper(0x68030001, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
	return result;
}

void C_CnCalendar::SetWeekBackColor(unsigned long newValue)
{
	static BYTE parms[] =
		VTS_I4;
	InvokeHelper(0x68030001, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
		 newValue);
}

DATE C_CnCalendar::GetValue()
{
	DATE result;
	InvokeHelper(0x68030000, DISPATCH_PROPERTYGET, VT_DATE, (void*)&result, NULL);
	return result;
}

void C_CnCalendar::SetValue(DATE newValue)
{
	static BYTE parms[] =
		VTS_DATE;
	InvokeHelper(0x68030000, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
		 newValue);
}

CString C_CnCalendar::GetChineseDate()
{
	CString result;
	InvokeHelper(0x60030022, DISPATCH_METHOD, VT_BSTR, (void*)&result, NULL);
	return result;
}

CString C_CnCalendar::GetChineseGanZhi()
{
	CString result;
	InvokeHelper(0x60030023, DISPATCH_METHOD, VT_BSTR, (void*)&result, NULL);
	return result;
}

CString C_CnCalendar::GetChineseMonth()
{
	CString result;
	InvokeHelper(0x60030024, DISPATCH_METHOD, VT_BSTR, (void*)&result, NULL);
	return result;
}

CString C_CnCalendar::GetChineseDay()
{
	CString result;
	InvokeHelper(0x60030025, DISPATCH_METHOD, VT_BSTR, (void*)&result, NULL);
	return result;
}

CString C_CnCalendar::GetChineseAnimal()
{
	CString result;
	InvokeHelper(0x60030026, DISPATCH_METHOD, VT_BSTR, (void*)&result, NULL);
	return result;
}

CString C_CnCalendar::GetConstellation(DATE theDate)
{
	CString result;
	static BYTE parms[] =
		VTS_DATE;
	InvokeHelper(0x60030027, DISPATCH_METHOD, VT_BSTR, (void*)&result, parms,
		theDate);
	return result;
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -