📄 box.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 "box.h"
/////////////////////////////////////////////////////////////////////////////
// CBox
IMPLEMENT_DYNCREATE(CBox, CWnd)
/////////////////////////////////////////////////////////////////////////////
// CBox properties
short CBox::GetCount()
{
short result;
GetProperty(0x1, VT_I2, (void*)&result);
return result;
}
void CBox::SetCount(short propVal)
{
SetProperty(0x1, VT_I2, propVal);
}
BOOL CBox::GetNumber()
{
BOOL result;
GetProperty(0x2, VT_BOOL, (void*)&result);
return result;
}
void CBox::SetNumber(BOOL propVal)
{
SetProperty(0x2, VT_BOOL, propVal);
}
OLE_COLOR CBox::GetBackColor()
{
OLE_COLOR result;
GetProperty(DISPID_BACKCOLOR, VT_I4, (void*)&result);
return result;
}
void CBox::SetBackColor(OLE_COLOR propVal)
{
SetProperty(DISPID_BACKCOLOR, VT_I4, propVal);
}
OLE_COLOR CBox::GetForeColor()
{
OLE_COLOR result;
GetProperty(DISPID_FORECOLOR, VT_I4, (void*)&result);
return result;
}
void CBox::SetForeColor(OLE_COLOR propVal)
{
SetProperty(DISPID_FORECOLOR, VT_I4, propVal);
}
BOOL CBox::GetUseable()
{
BOOL result;
GetProperty(0x3, VT_BOOL, (void*)&result);
return result;
}
void CBox::SetUseable(BOOL propVal)
{
SetProperty(0x3, VT_BOOL, propVal);
}
/////////////////////////////////////////////////////////////////////////////
// CBox operations
void CBox::DoRoll()
{
InvokeHelper(0x4, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}
void CBox::AboutBox()
{
InvokeHelper(0xfffffdd8, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -