You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
123 lines
2.7 KiB
C++
123 lines
2.7 KiB
C++
2 years ago
|
// 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 "label.h"
|
||
|
|
||
|
// Dispatch interfaces referenced by this interface
|
||
|
#include "Extents.h"
|
||
|
|
||
|
|
||
|
/////////////////////////////////////////////////////////////////////////////
|
||
|
// CLabel properties
|
||
|
|
||
|
/////////////////////////////////////////////////////////////////////////////
|
||
|
// CLabel operations
|
||
|
|
||
|
BOOL CLabel::GetVisible()
|
||
|
{
|
||
|
BOOL result;
|
||
|
InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
|
||
|
return result;
|
||
|
}
|
||
|
|
||
|
void CLabel::SetVisible(BOOL bNewValue)
|
||
|
{
|
||
|
static BYTE parms[] =
|
||
|
VTS_BOOL;
|
||
|
InvokeHelper(0x1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
|
||
|
bNewValue);
|
||
|
}
|
||
|
|
||
|
double CLabel::GetRotation()
|
||
|
{
|
||
|
double result;
|
||
|
InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_R8, (void*)&result, NULL);
|
||
|
return result;
|
||
|
}
|
||
|
|
||
|
void CLabel::SetRotation(double newValue)
|
||
|
{
|
||
|
static BYTE parms[] =
|
||
|
VTS_R8;
|
||
|
InvokeHelper(0x2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
|
||
|
newValue);
|
||
|
}
|
||
|
|
||
|
CString CLabel::GetText()
|
||
|
{
|
||
|
CString result;
|
||
|
InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
|
||
|
return result;
|
||
|
}
|
||
|
|
||
|
void CLabel::SetText(LPCTSTR lpszNewValue)
|
||
|
{
|
||
|
static BYTE parms[] =
|
||
|
VTS_BSTR;
|
||
|
InvokeHelper(0x3, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
|
||
|
lpszNewValue);
|
||
|
}
|
||
|
|
||
|
double CLabel::GetX()
|
||
|
{
|
||
|
double result;
|
||
|
InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_R8, (void*)&result, NULL);
|
||
|
return result;
|
||
|
}
|
||
|
|
||
|
void CLabel::SetX(double newValue)
|
||
|
{
|
||
|
static BYTE parms[] =
|
||
|
VTS_R8;
|
||
|
InvokeHelper(0x4, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
|
||
|
newValue);
|
||
|
}
|
||
|
|
||
|
double CLabel::GetY()
|
||
|
{
|
||
|
double result;
|
||
|
InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_R8, (void*)&result, NULL);
|
||
|
return result;
|
||
|
}
|
||
|
|
||
|
void CLabel::SetY(double newValue)
|
||
|
{
|
||
|
static BYTE parms[] =
|
||
|
VTS_R8;
|
||
|
InvokeHelper(0x5, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
|
||
|
newValue);
|
||
|
}
|
||
|
|
||
|
BOOL CLabel::GetIsDrawn()
|
||
|
{
|
||
|
BOOL result;
|
||
|
InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
|
||
|
return result;
|
||
|
}
|
||
|
|
||
|
long CLabel::GetCategory()
|
||
|
{
|
||
|
long result;
|
||
|
InvokeHelper(0x7, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
|
||
|
return result;
|
||
|
}
|
||
|
|
||
|
void CLabel::SetCategory(long nNewValue)
|
||
|
{
|
||
|
static BYTE parms[] =
|
||
|
VTS_I4;
|
||
|
InvokeHelper(0x7, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
|
||
|
nNewValue);
|
||
|
}
|
||
|
|
||
|
CExtents CLabel::GetScreenExtents()
|
||
|
{
|
||
|
LPDISPATCH pDispatch;
|
||
|
InvokeHelper(0x8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
|
||
|
return CExtents(pDispatch);
|
||
|
}
|