213 lines
4.6 KiB
C++
213 lines
4.6 KiB
C++
// 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 "progressbar.h"
|
|
|
|
// Dispatch interfaces referenced by this interface
|
|
#include "Picture.h"
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CProgressBar
|
|
|
|
IMPLEMENT_DYNCREATE(CProgressBar, CWnd)
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CProgressBar properties
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CProgressBar operations
|
|
|
|
float CProgressBar::GetMax()
|
|
{
|
|
float result;
|
|
InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
|
|
return result;
|
|
}
|
|
|
|
void CProgressBar::SetMax(float newValue)
|
|
{
|
|
static BYTE parms[] =
|
|
VTS_R4;
|
|
InvokeHelper(0x1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
|
|
newValue);
|
|
}
|
|
|
|
float CProgressBar::GetMin()
|
|
{
|
|
float result;
|
|
InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
|
|
return result;
|
|
}
|
|
|
|
void CProgressBar::SetMin(float newValue)
|
|
{
|
|
static BYTE parms[] =
|
|
VTS_R4;
|
|
InvokeHelper(0x2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
|
|
newValue);
|
|
}
|
|
|
|
long CProgressBar::GetMousePointer()
|
|
{
|
|
long result;
|
|
InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
|
|
return result;
|
|
}
|
|
|
|
void CProgressBar::SetMousePointer(long nNewValue)
|
|
{
|
|
static BYTE parms[] =
|
|
VTS_I4;
|
|
InvokeHelper(0x3, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
|
|
nNewValue);
|
|
}
|
|
|
|
CPicture CProgressBar::GetMouseIcon()
|
|
{
|
|
LPDISPATCH pDispatch;
|
|
InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
|
|
return CPicture(pDispatch);
|
|
}
|
|
|
|
void CProgressBar::SetRefMouseIcon(LPDISPATCH newValue)
|
|
{
|
|
static BYTE parms[] =
|
|
VTS_DISPATCH;
|
|
InvokeHelper(0x4, DISPATCH_PROPERTYPUTREF, VT_EMPTY, NULL, parms,
|
|
newValue);
|
|
}
|
|
|
|
void CProgressBar::SetMouseIcon(LPDISPATCH newValue)
|
|
{
|
|
static BYTE parms[] =
|
|
VTS_DISPATCH;
|
|
InvokeHelper(0x4, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
|
|
newValue);
|
|
}
|
|
|
|
float CProgressBar::GetValue()
|
|
{
|
|
float result;
|
|
InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
|
|
return result;
|
|
}
|
|
|
|
void CProgressBar::SetValue(float newValue)
|
|
{
|
|
static BYTE parms[] =
|
|
VTS_R4;
|
|
InvokeHelper(0x5, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
|
|
newValue);
|
|
}
|
|
|
|
long CProgressBar::GetOLEDropMode()
|
|
{
|
|
long result;
|
|
InvokeHelper(0x60f, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
|
|
return result;
|
|
}
|
|
|
|
void CProgressBar::SetOLEDropMode(long nNewValue)
|
|
{
|
|
static BYTE parms[] =
|
|
VTS_I4;
|
|
InvokeHelper(0x60f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
|
|
nNewValue);
|
|
}
|
|
|
|
long CProgressBar::GetAppearance()
|
|
{
|
|
long result;
|
|
InvokeHelper(DISPID_APPEARANCE, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
|
|
return result;
|
|
}
|
|
|
|
void CProgressBar::SetAppearance(long nNewValue)
|
|
{
|
|
static BYTE parms[] =
|
|
VTS_I4;
|
|
InvokeHelper(DISPID_APPEARANCE, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
|
|
nNewValue);
|
|
}
|
|
|
|
long CProgressBar::GetBorderStyle()
|
|
{
|
|
long result;
|
|
InvokeHelper(DISPID_BORDERSTYLE, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
|
|
return result;
|
|
}
|
|
|
|
void CProgressBar::SetBorderStyle(long nNewValue)
|
|
{
|
|
static BYTE parms[] =
|
|
VTS_I4;
|
|
InvokeHelper(DISPID_BORDERSTYLE, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
|
|
nNewValue);
|
|
}
|
|
|
|
BOOL CProgressBar::GetEnabled()
|
|
{
|
|
BOOL result;
|
|
InvokeHelper(DISPID_ENABLED, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
|
|
return result;
|
|
}
|
|
|
|
void CProgressBar::SetEnabled(BOOL bNewValue)
|
|
{
|
|
static BYTE parms[] =
|
|
VTS_BOOL;
|
|
InvokeHelper(DISPID_ENABLED, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
|
|
bNewValue);
|
|
}
|
|
|
|
long CProgressBar::GetHWnd()
|
|
{
|
|
long result;
|
|
InvokeHelper(DISPID_HWND, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
|
|
return result;
|
|
}
|
|
|
|
void CProgressBar::OLEDrag()
|
|
{
|
|
InvokeHelper(0x610, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
|
|
}
|
|
|
|
long CProgressBar::GetOrientation()
|
|
{
|
|
long result;
|
|
InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
|
|
return result;
|
|
}
|
|
|
|
void CProgressBar::SetOrientation(long nNewValue)
|
|
{
|
|
static BYTE parms[] =
|
|
VTS_I4;
|
|
InvokeHelper(0x6, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
|
|
nNewValue);
|
|
}
|
|
|
|
long CProgressBar::GetScrolling()
|
|
{
|
|
long result;
|
|
InvokeHelper(0x7, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
|
|
return result;
|
|
}
|
|
|
|
void CProgressBar::SetScrolling(long nNewValue)
|
|
{
|
|
static BYTE parms[] =
|
|
VTS_I4;
|
|
InvokeHelper(0x7, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
|
|
nNewValue);
|
|
}
|
|
|
|
void CProgressBar::Refresh()
|
|
{
|
|
InvokeHelper(DISPID_REFRESH, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
|
|
}
|