SmsManager/CVcDataPointLabel.h

161 lines
4.0 KiB
C
Raw Normal View History

2025-01-14 10:46:18 +08:00
// CVcDataPointLabel.h : <20><> Microsoft Visual C++ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ActiveX <20>ؼ<EFBFBD><D8BC><EFBFBD>װ<EFBFBD><D7B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
#pragma once
/////////////////////////////////////////////////////////////////////////////
// CVcDataPointLabel
class CVcDataPointLabel : public COleDispatchDriver
{
public:
CVcDataPointLabel() {} // <20><><EFBFBD><EFBFBD> COleDispatchDriver Ĭ<>Ϲ<EFBFBD><CFB9><EFBFBD><ECBAAF>
CVcDataPointLabel(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
CVcDataPointLabel(const CVcDataPointLabel& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
// <20><><EFBFBD><EFBFBD>
public:
// <20><><EFBFBD><EFBFBD>
public:
CString get__Text()
{
CString result;
InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, nullptr);
return result;
}
void put__Text(LPCTSTR newValue)
{
static BYTE parms[] = VTS_BSTR ;
InvokeHelper(0x0, DISPATCH_PROPERTYPUT, VT_EMPTY, nullptr, parms, newValue);
}
CString get_Text()
{
CString result;
InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, nullptr);
return result;
}
void put_Text(LPCTSTR newValue)
{
static BYTE parms[] = VTS_BSTR ;
InvokeHelper(0x1, DISPATCH_PROPERTYPUT, VT_EMPTY, nullptr, parms, newValue);
}
LPDISPATCH get_Backdrop()
{
LPDISPATCH result;
InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, nullptr);
return result;
}
LPDISPATCH get_VtFont()
{
LPDISPATCH result;
InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, nullptr);
return result;
}
LPDISPATCH get_Offset()
{
LPDISPATCH result;
InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, nullptr);
return result;
}
LPDISPATCH get_TextLayout()
{
LPDISPATCH result;
InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, nullptr);
return result;
}
long get_LocationType()
{
long result;
InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, nullptr);
return result;
}
void put_LocationType(long newValue)
{
static BYTE parms[] = VTS_I4 ;
InvokeHelper(0x6, DISPATCH_PROPERTYPUT, VT_EMPTY, nullptr, parms, newValue);
}
BOOL get_Custom()
{
BOOL result;
InvokeHelper(0x7, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, nullptr);
return result;
}
void put_Custom(BOOL newValue)
{
static BYTE parms[] = VTS_BOOL ;
InvokeHelper(0x7, DISPATCH_PROPERTYPUT, VT_EMPTY, nullptr, parms, newValue);
}
short get_Component()
{
short result;
InvokeHelper(0x8, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, nullptr);
return result;
}
void put_Component(short newValue)
{
static BYTE parms[] = VTS_I2 ;
InvokeHelper(0x8, DISPATCH_PROPERTYPUT, VT_EMPTY, nullptr, parms, newValue);
}
long get_LineStyle()
{
long result;
InvokeHelper(0x9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, nullptr);
return result;
}
void put_LineStyle(long newValue)
{
static BYTE parms[] = VTS_I4 ;
InvokeHelper(0x9, DISPATCH_PROPERTYPUT, VT_EMPTY, nullptr, parms, newValue);
}
CString get_ValueFormat()
{
CString result;
InvokeHelper(0xa, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, nullptr);
return result;
}
void put_ValueFormat(LPCTSTR newValue)
{
static BYTE parms[] = VTS_BSTR ;
InvokeHelper(0xa, DISPATCH_PROPERTYPUT, VT_EMPTY, nullptr, parms, newValue);
}
CString get_PercentFormat()
{
CString result;
InvokeHelper(0xb, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, nullptr);
return result;
}
void put_PercentFormat(LPCTSTR newValue)
{
static BYTE parms[] = VTS_BSTR ;
InvokeHelper(0xb, DISPATCH_PROPERTYPUT, VT_EMPTY, nullptr, parms, newValue);
}
short get_TextLength()
{
short result;
InvokeHelper(0xc, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, nullptr);
return result;
}
void putref_Font(LPDISPATCH newValue)
{
static BYTE parms[] = VTS_DISPATCH ;
InvokeHelper(0xf, DISPATCH_PROPERTYPUTREF, VT_EMPTY, nullptr, parms, newValue);
}
LPDISPATCH get_Font()
{
LPDISPATCH result;
InvokeHelper(0xf, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, nullptr);
return result;
}
void ResetCustomLabel()
{
InvokeHelper(0xd, DISPATCH_METHOD, VT_EMPTY, nullptr, nullptr);
}
void Select()
{
InvokeHelper(0xe, DISPATCH_METHOD, VT_EMPTY, nullptr, nullptr);
}
};