📄 _userbitmapctrl.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 "_userbitmapctrl.h"
/////////////////////////////////////////////////////////////////////////////
// C_UserBitmapCtrl
IMPLEMENT_DYNCREATE(C_UserBitmapCtrl, CWnd)
/////////////////////////////////////////////////////////////////////////////
// C_UserBitmapCtrl properties
/////////////////////////////////////////////////////////////////////////////
// C_UserBitmapCtrl operations
void C_UserBitmapCtrl::SetFont(LPCTSTR lpFontName, short iSize, long color)
{
static BYTE parms[] =
VTS_BSTR VTS_I2 VTS_I4;
InvokeHelper(0x60030002, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
lpFontName, iSize, color);
}
void C_UserBitmapCtrl::SetLine(short style, short width, long color)
{
static BYTE parms[] =
VTS_I2 VTS_I2 VTS_I4;
InvokeHelper(0x60030003, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
style, width, color);
}
void C_UserBitmapCtrl::DrawLine(long x1, long y1, long x2, long y2)
{
static BYTE parms[] =
VTS_I4 VTS_I4 VTS_I4 VTS_I4;
InvokeHelper(0x60030004, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
x1, y1, x2, y2);
}
void C_UserBitmapCtrl::PicTextOut(long x, long y, LPCTSTR lpString, long nCount)
{
static BYTE parms[] =
VTS_I4 VTS_I4 VTS_BSTR VTS_I4;
InvokeHelper(0x60030005, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
x, y, lpString, nCount);
}
void C_UserBitmapCtrl::SaveBitmap(LPCTSTR lpValue)
{
static BYTE parms[] =
VTS_BSTR;
InvokeHelper(0x60030006, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
lpValue);
}
void C_UserBitmapCtrl::PicCls()
{
InvokeHelper(0x60030007, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}
void C_UserBitmapCtrl::SetFontStyle(BOOL bBold, BOOL bItalic, BOOL bStrike)
{
static BYTE parms[] =
VTS_BOOL VTS_BOOL VTS_BOOL;
InvokeHelper(0x60030008, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
bBold, bItalic, bStrike);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -