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

📄 jpgshowctl.cpp

📁 当时做多媒体作业
💻 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 "jpgshowctl.h"

/////////////////////////////////////////////////////////////////////////////
// CJpgShowCtl

IMPLEMENT_DYNCREATE(CJpgShowCtl, CWnd)

/////////////////////////////////////////////////////////////////////////////
// CJpgShowCtl properties

/////////////////////////////////////////////////////////////////////////////
// CJpgShowCtl operations

void CJpgShowCtl::ShowFileName(LPCTSTR strFileName)
{
	static BYTE parms[] =
		VTS_BSTR;
	InvokeHelper(0x1, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 strFileName);
}

void CJpgShowCtl::Erase()
{
	InvokeHelper(0x2, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}

void CJpgShowCtl::SetBorderColor(unsigned long borderColor)
{
	static BYTE parms[] =
		VTS_I4;
	InvokeHelper(0x3, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 borderColor);
}

⌨️ 快捷键说明

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