rectangle1.cpp

来自「这是一个OCX测试控件程序」· C++ 代码 · 共 37 行

CPP
37
字号
// 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 "rectangle1.h"

/////////////////////////////////////////////////////////////////////////////
// CRectangle

IMPLEMENT_DYNCREATE(CRectangle, CWnd)

/////////////////////////////////////////////////////////////////////////////
// CRectangle properties

OLE_COLOR CRectangle::GetForeColor()
{
	OLE_COLOR result;
	GetProperty(DISPID_FORECOLOR, VT_I4, (void*)&result);
	return result;
}

void CRectangle::SetForeColor(OLE_COLOR propVal)
{
	SetProperty(DISPID_FORECOLOR, VT_I4, propVal);
}

/////////////////////////////////////////////////////////////////////////////
// CRectangle operations

void CRectangle::AboutBox()
{
	InvokeHelper(0xfffffdd8, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}

⌨️ 快捷键说明

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