2462 lines
52 KiB
C++
2462 lines
52 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 "ctschedule.h"
|
|
|
|
// Dispatch interfaces referenced by this interface
|
|
#include "Font.h"
|
|
#include "Picture.h"
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CctSchedule
|
|
|
|
IMPLEMENT_DYNCREATE(CctSchedule, CWnd)
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CctSchedule properties
|
|
|
|
BOOL CctSchedule::GetEnabled()
|
|
{
|
|
BOOL result;
|
|
GetProperty(DISPID_ENABLED, VT_BOOL, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetEnabled(BOOL propVal)
|
|
{
|
|
SetProperty(DISPID_ENABLED, VT_BOOL, propVal);
|
|
}
|
|
|
|
OLE_COLOR CctSchedule::GetBackColor()
|
|
{
|
|
OLE_COLOR result;
|
|
GetProperty(DISPID_BACKCOLOR, VT_I4, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetBackColor(OLE_COLOR propVal)
|
|
{
|
|
SetProperty(DISPID_BACKCOLOR, VT_I4, propVal);
|
|
}
|
|
|
|
OLE_HANDLE CctSchedule::GetHWnd()
|
|
{
|
|
OLE_HANDLE result;
|
|
GetProperty(DISPID_HWND, VT_I4, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetHWnd(OLE_HANDLE propVal)
|
|
{
|
|
SetProperty(DISPID_HWND, VT_I4, propVal);
|
|
}
|
|
|
|
unsigned long CctSchedule::GetListBarColor()
|
|
{
|
|
unsigned long result;
|
|
GetProperty(0x1, VT_I4, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetListBarColor(unsigned long propVal)
|
|
{
|
|
SetProperty(0x1, VT_I4, propVal);
|
|
}
|
|
|
|
short CctSchedule::GetListBarWidth()
|
|
{
|
|
short result;
|
|
GetProperty(0x2, VT_I2, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetListBarWidth(short propVal)
|
|
{
|
|
SetProperty(0x2, VT_I2, propVal);
|
|
}
|
|
|
|
BOOL CctSchedule::GetLockListBar()
|
|
{
|
|
BOOL result;
|
|
GetProperty(0x3, VT_BOOL, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetLockListBar(BOOL propVal)
|
|
{
|
|
SetProperty(0x3, VT_BOOL, propVal);
|
|
}
|
|
|
|
short CctSchedule::GetListWidth()
|
|
{
|
|
short result;
|
|
GetProperty(0x4, VT_I2, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetListWidth(short propVal)
|
|
{
|
|
SetProperty(0x4, VT_I2, propVal);
|
|
}
|
|
|
|
unsigned long CctSchedule::GetBorderColor()
|
|
{
|
|
unsigned long result;
|
|
GetProperty(0x5, VT_I4, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetBorderColor(unsigned long propVal)
|
|
{
|
|
SetProperty(0x5, VT_I4, propVal);
|
|
}
|
|
|
|
long CctSchedule::GetBorderType()
|
|
{
|
|
long result;
|
|
GetProperty(0x6, VT_I4, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetBorderType(long propVal)
|
|
{
|
|
SetProperty(0x6, VT_I4, propVal);
|
|
}
|
|
|
|
short CctSchedule::GetListColumns()
|
|
{
|
|
short result;
|
|
GetProperty(0x7, VT_I2, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetListColumns(short propVal)
|
|
{
|
|
SetProperty(0x7, VT_I2, propVal);
|
|
}
|
|
|
|
short CctSchedule::GetTitleHeight()
|
|
{
|
|
short result;
|
|
GetProperty(0xa, VT_I2, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetTitleHeight(short propVal)
|
|
{
|
|
SetProperty(0xa, VT_I2, propVal);
|
|
}
|
|
|
|
unsigned long CctSchedule::GetTitleBackColor()
|
|
{
|
|
unsigned long result;
|
|
GetProperty(0xb, VT_I4, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetTitleBackColor(unsigned long propVal)
|
|
{
|
|
SetProperty(0xb, VT_I4, propVal);
|
|
}
|
|
|
|
unsigned long CctSchedule::GetTitleForeColor()
|
|
{
|
|
unsigned long result;
|
|
GetProperty(0xc, VT_I4, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetTitleForeColor(unsigned long propVal)
|
|
{
|
|
SetProperty(0xc, VT_I4, propVal);
|
|
}
|
|
|
|
COleFont CctSchedule::GetTitleFont()
|
|
{
|
|
LPDISPATCH pDispatch;
|
|
GetProperty(0xd, VT_DISPATCH, (void*)&pDispatch);
|
|
return COleFont(pDispatch);
|
|
}
|
|
|
|
void CctSchedule::SetTitleFont(LPDISPATCH propVal)
|
|
{
|
|
SetProperty(0xd, VT_DISPATCH, propVal);
|
|
}
|
|
|
|
long CctSchedule::GetTitleBorder()
|
|
{
|
|
long result;
|
|
GetProperty(0xe, VT_I4, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetTitleBorder(long propVal)
|
|
{
|
|
SetProperty(0xe, VT_I4, propVal);
|
|
}
|
|
|
|
CString CctSchedule::GetTitleText()
|
|
{
|
|
CString result;
|
|
GetProperty(0xf, VT_BSTR, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetTitleText(LPCTSTR propVal)
|
|
{
|
|
SetProperty(0xf, VT_BSTR, propVal);
|
|
}
|
|
|
|
unsigned long CctSchedule::GetRulerBackColor()
|
|
{
|
|
unsigned long result;
|
|
GetProperty(0x10, VT_I4, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetRulerBackColor(unsigned long propVal)
|
|
{
|
|
SetProperty(0x10, VT_I4, propVal);
|
|
}
|
|
|
|
long CctSchedule::GetTitleAlign()
|
|
{
|
|
long result;
|
|
GetProperty(0x11, VT_I4, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetTitleAlign(long propVal)
|
|
{
|
|
SetProperty(0x11, VT_I4, propVal);
|
|
}
|
|
|
|
long CctSchedule::GetRulerBorder()
|
|
{
|
|
long result;
|
|
GetProperty(0x12, VT_I4, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetRulerBorder(long propVal)
|
|
{
|
|
SetProperty(0x12, VT_I4, propVal);
|
|
}
|
|
|
|
COleFont CctSchedule::GetListFont()
|
|
{
|
|
LPDISPATCH pDispatch;
|
|
GetProperty(0x13, VT_DISPATCH, (void*)&pDispatch);
|
|
return COleFont(pDispatch);
|
|
}
|
|
|
|
void CctSchedule::SetListFont(LPDISPATCH propVal)
|
|
{
|
|
SetProperty(0x13, VT_DISPATCH, propVal);
|
|
}
|
|
|
|
short CctSchedule::GetHeightOffset()
|
|
{
|
|
short result;
|
|
GetProperty(0x14, VT_I2, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetHeightOffset(short propVal)
|
|
{
|
|
SetProperty(0x14, VT_I2, propVal);
|
|
}
|
|
|
|
unsigned long CctSchedule::GetListBackColor()
|
|
{
|
|
unsigned long result;
|
|
GetProperty(0x15, VT_I4, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetListBackColor(unsigned long propVal)
|
|
{
|
|
SetProperty(0x15, VT_I4, propVal);
|
|
}
|
|
|
|
unsigned long CctSchedule::GetListForeColor()
|
|
{
|
|
unsigned long result;
|
|
GetProperty(0x16, VT_I4, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetListForeColor(unsigned long propVal)
|
|
{
|
|
SetProperty(0x16, VT_I4, propVal);
|
|
}
|
|
|
|
long CctSchedule::GetListBorder()
|
|
{
|
|
long result;
|
|
GetProperty(0x17, VT_I4, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetListBorder(long propVal)
|
|
{
|
|
SetProperty(0x17, VT_I4, propVal);
|
|
}
|
|
|
|
short CctSchedule::GetSelected()
|
|
{
|
|
short result;
|
|
GetProperty(0x18, VT_I2, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetSelected(short propVal)
|
|
{
|
|
SetProperty(0x18, VT_I2, propVal);
|
|
}
|
|
|
|
unsigned long CctSchedule::GetSelectBackColor()
|
|
{
|
|
unsigned long result;
|
|
GetProperty(0x19, VT_I4, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetSelectBackColor(unsigned long propVal)
|
|
{
|
|
SetProperty(0x19, VT_I4, propVal);
|
|
}
|
|
|
|
unsigned long CctSchedule::GetSelectForeColor()
|
|
{
|
|
unsigned long result;
|
|
GetProperty(0x1a, VT_I4, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetSelectForeColor(unsigned long propVal)
|
|
{
|
|
SetProperty(0x1a, VT_I4, propVal);
|
|
}
|
|
|
|
COleFont CctSchedule::GetSelectFont()
|
|
{
|
|
LPDISPATCH pDispatch;
|
|
GetProperty(0x1b, VT_DISPATCH, (void*)&pDispatch);
|
|
return COleFont(pDispatch);
|
|
}
|
|
|
|
void CctSchedule::SetSelectFont(LPDISPATCH propVal)
|
|
{
|
|
SetProperty(0x1b, VT_DISPATCH, propVal);
|
|
}
|
|
|
|
short CctSchedule::GetTitleXOffset()
|
|
{
|
|
short result;
|
|
GetProperty(0x1c, VT_I2, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetTitleXOffset(short propVal)
|
|
{
|
|
SetProperty(0x1c, VT_I2, propVal);
|
|
}
|
|
|
|
short CctSchedule::GetTitleYOffset()
|
|
{
|
|
short result;
|
|
GetProperty(0x1d, VT_I2, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetTitleYOffset(short propVal)
|
|
{
|
|
SetProperty(0x1d, VT_I2, propVal);
|
|
}
|
|
|
|
long CctSchedule::GetTimeType()
|
|
{
|
|
long result;
|
|
GetProperty(0x1e, VT_I4, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetTimeType(long propVal)
|
|
{
|
|
SetProperty(0x1e, VT_I4, propVal);
|
|
}
|
|
|
|
BOOL CctSchedule::GetRulerSplit()
|
|
{
|
|
BOOL result;
|
|
GetProperty(0x1f, VT_BOOL, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetRulerSplit(BOOL propVal)
|
|
{
|
|
SetProperty(0x1f, VT_BOOL, propVal);
|
|
}
|
|
|
|
unsigned long CctSchedule::GetRulerForeColor()
|
|
{
|
|
unsigned long result;
|
|
GetProperty(0x20, VT_I4, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetRulerForeColor(unsigned long propVal)
|
|
{
|
|
SetProperty(0x20, VT_I4, propVal);
|
|
}
|
|
|
|
short CctSchedule::GetTimeDistance()
|
|
{
|
|
short result;
|
|
GetProperty(0x21, VT_I2, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetTimeDistance(short propVal)
|
|
{
|
|
SetProperty(0x21, VT_I2, propVal);
|
|
}
|
|
|
|
long CctSchedule::GetTimeStart()
|
|
{
|
|
long result;
|
|
GetProperty(0x22, VT_I4, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetTimeStart(long propVal)
|
|
{
|
|
SetProperty(0x22, VT_I4, propVal);
|
|
}
|
|
|
|
long CctSchedule::GetTimeEnd()
|
|
{
|
|
long result;
|
|
GetProperty(0x23, VT_I4, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetTimeEnd(long propVal)
|
|
{
|
|
SetProperty(0x23, VT_I4, propVal);
|
|
}
|
|
|
|
long CctSchedule::GetDateStart()
|
|
{
|
|
long result;
|
|
GetProperty(0x24, VT_I4, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetDateStart(long propVal)
|
|
{
|
|
SetProperty(0x24, VT_I4, propVal);
|
|
}
|
|
|
|
long CctSchedule::GetDateEnd()
|
|
{
|
|
long result;
|
|
GetProperty(0x25, VT_I4, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetDateEnd(long propVal)
|
|
{
|
|
SetProperty(0x25, VT_I4, propVal);
|
|
}
|
|
|
|
long CctSchedule::GetRulerAlign()
|
|
{
|
|
long result;
|
|
GetProperty(0x26, VT_I4, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetRulerAlign(long propVal)
|
|
{
|
|
SetProperty(0x26, VT_I4, propVal);
|
|
}
|
|
|
|
short CctSchedule::GetRulerXOffset()
|
|
{
|
|
short result;
|
|
GetProperty(0x27, VT_I2, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetRulerXOffset(short propVal)
|
|
{
|
|
SetProperty(0x27, VT_I2, propVal);
|
|
}
|
|
|
|
short CctSchedule::GetRulerYOffset()
|
|
{
|
|
short result;
|
|
GetProperty(0x28, VT_I2, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetRulerYOffset(short propVal)
|
|
{
|
|
SetProperty(0x28, VT_I2, propVal);
|
|
}
|
|
|
|
BOOL CctSchedule::GetRulerThreeD()
|
|
{
|
|
BOOL result;
|
|
GetProperty(0x29, VT_BOOL, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetRulerThreeD(BOOL propVal)
|
|
{
|
|
SetProperty(0x29, VT_BOOL, propVal);
|
|
}
|
|
|
|
COleFont CctSchedule::GetRulerFont()
|
|
{
|
|
LPDISPATCH pDispatch;
|
|
GetProperty(0x2a, VT_DISPATCH, (void*)&pDispatch);
|
|
return COleFont(pDispatch);
|
|
}
|
|
|
|
void CctSchedule::SetRulerFont(LPDISPATCH propVal)
|
|
{
|
|
SetProperty(0x2a, VT_DISPATCH, propVal);
|
|
}
|
|
|
|
BOOL CctSchedule::GetMilitaryTime()
|
|
{
|
|
BOOL result;
|
|
GetProperty(0x2b, VT_BOOL, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetMilitaryTime(BOOL propVal)
|
|
{
|
|
SetProperty(0x2b, VT_BOOL, propVal);
|
|
}
|
|
|
|
short CctSchedule::GetLineMaxSize()
|
|
{
|
|
short result;
|
|
GetProperty(0x2c, VT_I2, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetLineMaxSize(short propVal)
|
|
{
|
|
SetProperty(0x2c, VT_I2, propVal);
|
|
}
|
|
|
|
short CctSchedule::GetLineMinSize()
|
|
{
|
|
short result;
|
|
GetProperty(0x2d, VT_I2, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetLineMinSize(short propVal)
|
|
{
|
|
SetProperty(0x2d, VT_I2, propVal);
|
|
}
|
|
|
|
CString CctSchedule::GetDayNames()
|
|
{
|
|
CString result;
|
|
GetProperty(0x2e, VT_BSTR, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetDayNames(LPCTSTR propVal)
|
|
{
|
|
SetProperty(0x2e, VT_BSTR, propVal);
|
|
}
|
|
|
|
CString CctSchedule::GetMonthNames()
|
|
{
|
|
CString result;
|
|
GetProperty(0x2f, VT_BSTR, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetMonthNames(LPCTSTR propVal)
|
|
{
|
|
SetProperty(0x2f, VT_BSTR, propVal);
|
|
}
|
|
|
|
CString CctSchedule::GetDateFormat()
|
|
{
|
|
CString result;
|
|
GetProperty(0x30, VT_BSTR, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetDateFormat(LPCTSTR propVal)
|
|
{
|
|
SetProperty(0x30, VT_BSTR, propVal);
|
|
}
|
|
|
|
BOOL CctSchedule::GetIncludeAmPm()
|
|
{
|
|
BOOL result;
|
|
GetProperty(0x31, VT_BOOL, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetIncludeAmPm(BOOL propVal)
|
|
{
|
|
SetProperty(0x31, VT_BOOL, propVal);
|
|
}
|
|
|
|
BOOL CctSchedule::GetDisplayOnly()
|
|
{
|
|
BOOL result;
|
|
GetProperty(0x32, VT_BOOL, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetDisplayOnly(BOOL propVal)
|
|
{
|
|
SetProperty(0x32, VT_BOOL, propVal);
|
|
}
|
|
|
|
CString CctSchedule::GetTimeTagAM()
|
|
{
|
|
CString result;
|
|
GetProperty(0x33, VT_BSTR, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetTimeTagAM(LPCTSTR propVal)
|
|
{
|
|
SetProperty(0x33, VT_BSTR, propVal);
|
|
}
|
|
|
|
CString CctSchedule::GetTimeTagPM()
|
|
{
|
|
CString result;
|
|
GetProperty(0x34, VT_BSTR, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetTimeTagPM(LPCTSTR propVal)
|
|
{
|
|
SetProperty(0x34, VT_BSTR, propVal);
|
|
}
|
|
|
|
BOOL CctSchedule::GetIncludeMinutes()
|
|
{
|
|
BOOL result;
|
|
GetProperty(0x35, VT_BOOL, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetIncludeMinutes(BOOL propVal)
|
|
{
|
|
SetProperty(0x35, VT_BOOL, propVal);
|
|
}
|
|
|
|
short CctSchedule::GetRulerDivisions()
|
|
{
|
|
short result;
|
|
GetProperty(0x36, VT_I2, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetRulerDivisions(short propVal)
|
|
{
|
|
SetProperty(0x36, VT_I2, propVal);
|
|
}
|
|
|
|
short CctSchedule::GetBarTipSize()
|
|
{
|
|
short result;
|
|
GetProperty(0x37, VT_I2, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetBarTipSize(short propVal)
|
|
{
|
|
SetProperty(0x37, VT_I2, propVal);
|
|
}
|
|
|
|
BOOL CctSchedule::GetTimeLines()
|
|
{
|
|
BOOL result;
|
|
GetProperty(0x38, VT_BOOL, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetTimeLines(BOOL propVal)
|
|
{
|
|
SetProperty(0x38, VT_BOOL, propVal);
|
|
}
|
|
|
|
unsigned long CctSchedule::GetTimeLineColor()
|
|
{
|
|
unsigned long result;
|
|
GetProperty(0x39, VT_I4, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetTimeLineColor(unsigned long propVal)
|
|
{
|
|
SetProperty(0x39, VT_I4, propVal);
|
|
}
|
|
|
|
short CctSchedule::GetGridFrequency()
|
|
{
|
|
short result;
|
|
GetProperty(0x3a, VT_I2, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetGridFrequency(short propVal)
|
|
{
|
|
SetProperty(0x3a, VT_I2, propVal);
|
|
}
|
|
|
|
BOOL CctSchedule::GetMarkerBars()
|
|
{
|
|
BOOL result;
|
|
GetProperty(0x3b, VT_BOOL, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetMarkerBars(BOOL propVal)
|
|
{
|
|
SetProperty(0x3b, VT_BOOL, propVal);
|
|
}
|
|
|
|
unsigned long CctSchedule::GetMarkerBarColor()
|
|
{
|
|
unsigned long result;
|
|
GetProperty(0x3c, VT_I4, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetMarkerBarColor(unsigned long propVal)
|
|
{
|
|
SetProperty(0x3c, VT_I4, propVal);
|
|
}
|
|
|
|
CPicture CctSchedule::GetImage1()
|
|
{
|
|
LPDISPATCH pDispatch;
|
|
GetProperty(0x3d, VT_DISPATCH, (void*)&pDispatch);
|
|
return CPicture(pDispatch);
|
|
}
|
|
|
|
void CctSchedule::SetImage1(LPDISPATCH propVal)
|
|
{
|
|
SetProperty(0x3d, VT_DISPATCH, propVal);
|
|
}
|
|
|
|
CPicture CctSchedule::GetImage2()
|
|
{
|
|
LPDISPATCH pDispatch;
|
|
GetProperty(0x3e, VT_DISPATCH, (void*)&pDispatch);
|
|
return CPicture(pDispatch);
|
|
}
|
|
|
|
void CctSchedule::SetImage2(LPDISPATCH propVal)
|
|
{
|
|
SetProperty(0x3e, VT_DISPATCH, propVal);
|
|
}
|
|
|
|
CPicture CctSchedule::GetImage3()
|
|
{
|
|
LPDISPATCH pDispatch;
|
|
GetProperty(0x3f, VT_DISPATCH, (void*)&pDispatch);
|
|
return CPicture(pDispatch);
|
|
}
|
|
|
|
void CctSchedule::SetImage3(LPDISPATCH propVal)
|
|
{
|
|
SetProperty(0x3f, VT_DISPATCH, propVal);
|
|
}
|
|
|
|
CPicture CctSchedule::GetImage4()
|
|
{
|
|
LPDISPATCH pDispatch;
|
|
GetProperty(0x40, VT_DISPATCH, (void*)&pDispatch);
|
|
return CPicture(pDispatch);
|
|
}
|
|
|
|
void CctSchedule::SetImage4(LPDISPATCH propVal)
|
|
{
|
|
SetProperty(0x40, VT_DISPATCH, propVal);
|
|
}
|
|
|
|
CPicture CctSchedule::GetImage5()
|
|
{
|
|
LPDISPATCH pDispatch;
|
|
GetProperty(0x41, VT_DISPATCH, (void*)&pDispatch);
|
|
return CPicture(pDispatch);
|
|
}
|
|
|
|
void CctSchedule::SetImage5(LPDISPATCH propVal)
|
|
{
|
|
SetProperty(0x41, VT_DISPATCH, propVal);
|
|
}
|
|
|
|
CPicture CctSchedule::GetImage6()
|
|
{
|
|
LPDISPATCH pDispatch;
|
|
GetProperty(0x42, VT_DISPATCH, (void*)&pDispatch);
|
|
return CPicture(pDispatch);
|
|
}
|
|
|
|
void CctSchedule::SetImage6(LPDISPATCH propVal)
|
|
{
|
|
SetProperty(0x42, VT_DISPATCH, propVal);
|
|
}
|
|
|
|
short CctSchedule::GetDefaultStyle()
|
|
{
|
|
short result;
|
|
GetProperty(0x43, VT_I2, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetDefaultStyle(short propVal)
|
|
{
|
|
SetProperty(0x43, VT_I2, propVal);
|
|
}
|
|
|
|
short CctSchedule::GetBarTipExtension()
|
|
{
|
|
short result;
|
|
GetProperty(0x44, VT_I2, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetBarTipExtension(short propVal)
|
|
{
|
|
SetProperty(0x44, VT_I2, propVal);
|
|
}
|
|
|
|
unsigned long CctSchedule::GetBarDefBackColor()
|
|
{
|
|
unsigned long result;
|
|
GetProperty(0x45, VT_I4, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetBarDefBackColor(unsigned long propVal)
|
|
{
|
|
SetProperty(0x45, VT_I4, propVal);
|
|
}
|
|
|
|
unsigned long CctSchedule::GetBarDefForeColor()
|
|
{
|
|
unsigned long result;
|
|
GetProperty(0x46, VT_I4, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetBarDefForeColor(unsigned long propVal)
|
|
{
|
|
SetProperty(0x46, VT_I4, propVal);
|
|
}
|
|
|
|
COleFont CctSchedule::GetBarFont()
|
|
{
|
|
LPDISPATCH pDispatch;
|
|
GetProperty(0x47, VT_DISPATCH, (void*)&pDispatch);
|
|
return COleFont(pDispatch);
|
|
}
|
|
|
|
void CctSchedule::SetBarFont(LPDISPATCH propVal)
|
|
{
|
|
SetProperty(0x47, VT_DISPATCH, propVal);
|
|
}
|
|
|
|
BOOL CctSchedule::GetSnapToGrid()
|
|
{
|
|
BOOL result;
|
|
GetProperty(0x48, VT_BOOL, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetSnapToGrid(BOOL propVal)
|
|
{
|
|
SetProperty(0x48, VT_BOOL, propVal);
|
|
}
|
|
|
|
short CctSchedule::GetBar()
|
|
{
|
|
short result;
|
|
GetProperty(0x49, VT_I2, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetBar(short propVal)
|
|
{
|
|
SetProperty(0x49, VT_I2, propVal);
|
|
}
|
|
|
|
short CctSchedule::GetListCount()
|
|
{
|
|
short result;
|
|
GetProperty(0x4a, VT_I2, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetListCount(short propVal)
|
|
{
|
|
SetProperty(0x4a, VT_I2, propVal);
|
|
}
|
|
|
|
short CctSchedule::GetStyleCount()
|
|
{
|
|
short result;
|
|
GetProperty(0x4b, VT_I2, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetStyleCount(short propVal)
|
|
{
|
|
SetProperty(0x4b, VT_I2, propVal);
|
|
}
|
|
|
|
long CctSchedule::GetBarSelectBorder()
|
|
{
|
|
long result;
|
|
GetProperty(0x4c, VT_I4, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetBarSelectBorder(long propVal)
|
|
{
|
|
SetProperty(0x4c, VT_I4, propVal);
|
|
}
|
|
|
|
unsigned long CctSchedule::GetBarSelectColor()
|
|
{
|
|
unsigned long result;
|
|
GetProperty(0x4d, VT_I4, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetBarSelectColor(unsigned long propVal)
|
|
{
|
|
SetProperty(0x4d, VT_I4, propVal);
|
|
}
|
|
|
|
CString CctSchedule::GetPrintTitle()
|
|
{
|
|
CString result;
|
|
GetProperty(0x4e, VT_BSTR, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetPrintTitle(LPCTSTR propVal)
|
|
{
|
|
SetProperty(0x4e, VT_BSTR, propVal);
|
|
}
|
|
|
|
CString CctSchedule::GetPrintSubTitle()
|
|
{
|
|
CString result;
|
|
GetProperty(0x4f, VT_BSTR, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetPrintSubTitle(LPCTSTR propVal)
|
|
{
|
|
SetProperty(0x4f, VT_BSTR, propVal);
|
|
}
|
|
|
|
BOOL CctSchedule::GetPrintIndex()
|
|
{
|
|
BOOL result;
|
|
GetProperty(0x50, VT_BOOL, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetPrintIndex(BOOL propVal)
|
|
{
|
|
SetProperty(0x50, VT_BOOL, propVal);
|
|
}
|
|
|
|
short CctSchedule::GetPrintTimeDistance()
|
|
{
|
|
short result;
|
|
GetProperty(0x51, VT_I2, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetPrintTimeDistance(short propVal)
|
|
{
|
|
SetProperty(0x51, VT_I2, propVal);
|
|
}
|
|
|
|
short CctSchedule::GetPrintColumns()
|
|
{
|
|
short result;
|
|
GetProperty(0x52, VT_I2, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetPrintColumns(short propVal)
|
|
{
|
|
SetProperty(0x52, VT_I2, propVal);
|
|
}
|
|
|
|
short CctSchedule::GetSchedScroll()
|
|
{
|
|
short result;
|
|
GetProperty(0x53, VT_I2, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetSchedScroll(short propVal)
|
|
{
|
|
SetProperty(0x53, VT_I2, propVal);
|
|
}
|
|
|
|
short CctSchedule::GetDateOffset()
|
|
{
|
|
short result;
|
|
GetProperty(0x54, VT_I2, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetDateOffset(short propVal)
|
|
{
|
|
SetProperty(0x54, VT_I2, propVal);
|
|
}
|
|
|
|
short CctSchedule::GetUndoType()
|
|
{
|
|
short result;
|
|
GetProperty(0x55, VT_I2, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetUndoType(short propVal)
|
|
{
|
|
SetProperty(0x55, VT_I2, propVal);
|
|
}
|
|
|
|
unsigned long CctSchedule::GetWeekendColor()
|
|
{
|
|
unsigned long result;
|
|
GetProperty(0x56, VT_I4, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetWeekendColor(unsigned long propVal)
|
|
{
|
|
SetProperty(0x56, VT_I4, propVal);
|
|
}
|
|
|
|
BOOL CctSchedule::GetVertReposition()
|
|
{
|
|
BOOL result;
|
|
GetProperty(0x57, VT_BOOL, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetVertReposition(BOOL propVal)
|
|
{
|
|
SetProperty(0x57, VT_BOOL, propVal);
|
|
}
|
|
|
|
BOOL CctSchedule::GetAdjustOnMove()
|
|
{
|
|
BOOL result;
|
|
GetProperty(0x58, VT_BOOL, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetAdjustOnMove(BOOL propVal)
|
|
{
|
|
SetProperty(0x58, VT_BOOL, propVal);
|
|
}
|
|
|
|
short CctSchedule::GetListIndex()
|
|
{
|
|
short result;
|
|
GetProperty(0x59, VT_I2, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetListIndex(short propVal)
|
|
{
|
|
SetProperty(0x59, VT_I2, propVal);
|
|
}
|
|
|
|
short CctSchedule::GetCBarCount()
|
|
{
|
|
short result;
|
|
GetProperty(0x5a, VT_I2, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetCBarCount(short propVal)
|
|
{
|
|
SetProperty(0x5a, VT_I2, propVal);
|
|
}
|
|
|
|
COleFont CctSchedule::GetListHeaderFont()
|
|
{
|
|
LPDISPATCH pDispatch;
|
|
GetProperty(0x5b, VT_DISPATCH, (void*)&pDispatch);
|
|
return COleFont(pDispatch);
|
|
}
|
|
|
|
void CctSchedule::SetListHeaderFont(LPDISPATCH propVal)
|
|
{
|
|
SetProperty(0x5b, VT_DISPATCH, propVal);
|
|
}
|
|
|
|
unsigned long CctSchedule::GetListHeaderColor()
|
|
{
|
|
unsigned long result;
|
|
GetProperty(0x5c, VT_I4, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetListHeaderColor(unsigned long propVal)
|
|
{
|
|
SetProperty(0x5c, VT_I4, propVal);
|
|
}
|
|
|
|
short CctSchedule::GetListIndent()
|
|
{
|
|
short result;
|
|
GetProperty(0x5d, VT_I2, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetListIndent(short propVal)
|
|
{
|
|
SetProperty(0x5d, VT_I2, propVal);
|
|
}
|
|
|
|
BOOL CctSchedule::GetRulerDays()
|
|
{
|
|
BOOL result;
|
|
GetProperty(0x5e, VT_BOOL, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetRulerDays(BOOL propVal)
|
|
{
|
|
SetProperty(0x5e, VT_BOOL, propVal);
|
|
}
|
|
|
|
short CctSchedule::GetRulerDaySize()
|
|
{
|
|
short result;
|
|
GetProperty(0x5f, VT_I2, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetRulerDaySize(short propVal)
|
|
{
|
|
SetProperty(0x5f, VT_I2, propVal);
|
|
}
|
|
|
|
short CctSchedule::GetWeekends()
|
|
{
|
|
short result;
|
|
GetProperty(0x60, VT_I2, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetWeekends(short propVal)
|
|
{
|
|
SetProperty(0x60, VT_I2, propVal);
|
|
}
|
|
|
|
BOOL CctSchedule::GetTextIntoView()
|
|
{
|
|
BOOL result;
|
|
GetProperty(0x61, VT_BOOL, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetTextIntoView(BOOL propVal)
|
|
{
|
|
SetProperty(0x61, VT_BOOL, propVal);
|
|
}
|
|
|
|
BOOL CctSchedule::GetDatesInBars()
|
|
{
|
|
BOOL result;
|
|
GetProperty(0x62, VT_BOOL, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetDatesInBars(BOOL propVal)
|
|
{
|
|
SetProperty(0x62, VT_BOOL, propVal);
|
|
}
|
|
|
|
BOOL CctSchedule::GetUseImageList()
|
|
{
|
|
BOOL result;
|
|
GetProperty(0x63, VT_BOOL, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetUseImageList(BOOL propVal)
|
|
{
|
|
SetProperty(0x63, VT_BOOL, propVal);
|
|
}
|
|
|
|
short CctSchedule::GetImageListCount()
|
|
{
|
|
short result;
|
|
GetProperty(0x64, VT_I2, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetImageListCount(short propVal)
|
|
{
|
|
SetProperty(0x64, VT_I2, propVal);
|
|
}
|
|
|
|
short CctSchedule::GetPageXOffset()
|
|
{
|
|
short result;
|
|
GetProperty(0x65, VT_I2, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetPageXOffset(short propVal)
|
|
{
|
|
SetProperty(0x65, VT_I2, propVal);
|
|
}
|
|
|
|
short CctSchedule::GetPageYOffset()
|
|
{
|
|
short result;
|
|
GetProperty(0x66, VT_I2, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetPageYOffset(short propVal)
|
|
{
|
|
SetProperty(0x66, VT_I2, propVal);
|
|
}
|
|
|
|
unsigned long CctSchedule::GetBarDateTextColor()
|
|
{
|
|
unsigned long result;
|
|
GetProperty(0x67, VT_I4, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetBarDateTextColor(unsigned long propVal)
|
|
{
|
|
SetProperty(0x67, VT_I4, propVal);
|
|
}
|
|
|
|
BOOL CctSchedule::GetBarTextWrap()
|
|
{
|
|
BOOL result;
|
|
GetProperty(0x68, VT_BOOL, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetBarTextWrap(BOOL propVal)
|
|
{
|
|
SetProperty(0x68, VT_BOOL, propVal);
|
|
}
|
|
|
|
short CctSchedule::GetVirtualAlign()
|
|
{
|
|
short result;
|
|
GetProperty(0x69, VT_I2, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetVirtualAlign(short propVal)
|
|
{
|
|
SetProperty(0x69, VT_I2, propVal);
|
|
}
|
|
|
|
unsigned long CctSchedule::GetVirtualForeColor()
|
|
{
|
|
unsigned long result;
|
|
GetProperty(0x6a, VT_I4, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetVirtualForeColor(unsigned long propVal)
|
|
{
|
|
SetProperty(0x6a, VT_I4, propVal);
|
|
}
|
|
|
|
BOOL CctSchedule::GetPrintWeekendColor()
|
|
{
|
|
BOOL result;
|
|
GetProperty(0x6b, VT_BOOL, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetPrintWeekendColor(BOOL propVal)
|
|
{
|
|
SetProperty(0x6b, VT_BOOL, propVal);
|
|
}
|
|
|
|
BOOL CctSchedule::GetPrintColorBars()
|
|
{
|
|
BOOL result;
|
|
GetProperty(0x6c, VT_BOOL, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetPrintColorBars(BOOL propVal)
|
|
{
|
|
SetProperty(0x6c, VT_BOOL, propVal);
|
|
}
|
|
|
|
BOOL CctSchedule::GetWeekendDates()
|
|
{
|
|
BOOL result;
|
|
GetProperty(0x6d, VT_BOOL, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetWeekendDates(BOOL propVal)
|
|
{
|
|
SetProperty(0x6d, VT_BOOL, propVal);
|
|
}
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CctSchedule operations
|
|
|
|
void CctSchedule::ClearSchedule()
|
|
{
|
|
InvokeHelper(0x6e, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
|
|
}
|
|
|
|
short CctSchedule::AddItem(LPCTSTR strText)
|
|
{
|
|
short result;
|
|
static BYTE parms[] =
|
|
VTS_BSTR;
|
|
InvokeHelper(0x6f, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
|
|
strText);
|
|
return result;
|
|
}
|
|
|
|
short CctSchedule::AddTimeBar(short nIndex, long lTimeStart, long lTimeEnd, long lDateStart, long lDateEnd)
|
|
{
|
|
short result;
|
|
static BYTE parms[] =
|
|
VTS_I2 VTS_I4 VTS_I4 VTS_I4 VTS_I4;
|
|
InvokeHelper(0x70, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
|
|
nIndex, lTimeStart, lTimeEnd, lDateStart, lDateEnd);
|
|
return result;
|
|
}
|
|
|
|
BOOL CctSchedule::DeleteTimeBar(short nIndex, short nBar)
|
|
{
|
|
BOOL result;
|
|
static BYTE parms[] =
|
|
VTS_I2 VTS_I2;
|
|
InvokeHelper(0x71, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
|
|
nIndex, nBar);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::BarStart(short nIndex, short nBar, long lTime, long lDate)
|
|
{
|
|
static BYTE parms[] =
|
|
VTS_I2 VTS_I2 VTS_I4 VTS_I4;
|
|
InvokeHelper(0x72, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
|
|
nIndex, nBar, lTime, lDate);
|
|
}
|
|
|
|
short CctSchedule::AddBarStyle(short nHeight, short nVOffset)
|
|
{
|
|
short result;
|
|
static BYTE parms[] =
|
|
VTS_I2 VTS_I2;
|
|
InvokeHelper(0x73, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
|
|
nHeight, nVOffset);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::ClearBarStyles()
|
|
{
|
|
InvokeHelper(0x74, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
|
|
}
|
|
|
|
BOOL CctSchedule::SendToBack(short nIndex, short nBar)
|
|
{
|
|
BOOL result;
|
|
static BYTE parms[] =
|
|
VTS_I2 VTS_I2;
|
|
InvokeHelper(0x75, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
|
|
nIndex, nBar);
|
|
return result;
|
|
}
|
|
|
|
BOOL CctSchedule::BringToFront(short nIndex, short nBar)
|
|
{
|
|
BOOL result;
|
|
static BYTE parms[] =
|
|
VTS_I2 VTS_I2;
|
|
InvokeHelper(0x76, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
|
|
nIndex, nBar);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::BarEnd(short nIndex, short nBar, long lTime, long lDate)
|
|
{
|
|
static BYTE parms[] =
|
|
VTS_I2 VTS_I2 VTS_I4 VTS_I4;
|
|
InvokeHelper(0x77, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
|
|
nIndex, nBar, lTime, lDate);
|
|
}
|
|
|
|
short CctSchedule::AddKeyTimeBar(short nIndex, long lTimeStart, long lTimeEnd, long lDateStart, long lDateEnd, LPCTSTR cKeyID)
|
|
{
|
|
short result;
|
|
static BYTE parms[] =
|
|
VTS_I2 VTS_I4 VTS_I4 VTS_I4 VTS_I4 VTS_BSTR;
|
|
InvokeHelper(0x78, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
|
|
nIndex, lTimeStart, lTimeEnd, lDateStart, lDateEnd, cKeyID);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::CancelSelect()
|
|
{
|
|
InvokeHelper(0x79, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
|
|
}
|
|
|
|
void CctSchedule::BarMove(short nIndex, short nBar, long lTimeStart, long lTimeEnd, long lDateStart, long lDateEnd)
|
|
{
|
|
static BYTE parms[] =
|
|
VTS_I2 VTS_I2 VTS_I4 VTS_I4 VTS_I4 VTS_I4;
|
|
InvokeHelper(0x7a, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
|
|
nIndex, nBar, lTimeStart, lTimeEnd, lDateStart, lDateEnd);
|
|
}
|
|
|
|
BOOL CctSchedule::PrintSchedule()
|
|
{
|
|
BOOL result;
|
|
InvokeHelper(0x7b, DISPATCH_METHOD, VT_BOOL, (void*)&result, NULL);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::AbortPrint()
|
|
{
|
|
InvokeHelper(0x7c, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
|
|
}
|
|
|
|
BOOL CctSchedule::DeleteItem(short nIndex)
|
|
{
|
|
BOOL result;
|
|
static BYTE parms[] =
|
|
VTS_I2;
|
|
InvokeHelper(0x7d, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
|
|
nIndex);
|
|
return result;
|
|
}
|
|
|
|
BOOL CctSchedule::Undo()
|
|
{
|
|
BOOL result;
|
|
InvokeHelper(0x7e, DISPATCH_METHOD, VT_BOOL, (void*)&result, NULL);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::CancelDrop()
|
|
{
|
|
InvokeHelper(0x7f, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
|
|
}
|
|
|
|
short CctSchedule::FindFirstItem(short nIndex, short nBar)
|
|
{
|
|
short result;
|
|
static BYTE parms[] =
|
|
VTS_I2 VTS_I2;
|
|
InvokeHelper(0x80, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
|
|
nIndex, nBar);
|
|
return result;
|
|
}
|
|
|
|
short CctSchedule::FindNextItem(short nIndex, short nBar)
|
|
{
|
|
short result;
|
|
static BYTE parms[] =
|
|
VTS_I2 VTS_I2;
|
|
InvokeHelper(0x81, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
|
|
nIndex, nBar);
|
|
return result;
|
|
}
|
|
|
|
short CctSchedule::FindFirstBar(short nIndex, short nBar, short nItem)
|
|
{
|
|
short result;
|
|
static BYTE parms[] =
|
|
VTS_I2 VTS_I2 VTS_I2;
|
|
InvokeHelper(0x82, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
|
|
nIndex, nBar, nItem);
|
|
return result;
|
|
}
|
|
|
|
short CctSchedule::FindNextBar(short nIndex, short nBar, short nItem)
|
|
{
|
|
short result;
|
|
static BYTE parms[] =
|
|
VTS_I2 VTS_I2 VTS_I2;
|
|
InvokeHelper(0x83, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
|
|
nIndex, nBar, nItem);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::ReDraw(BOOL bScroll)
|
|
{
|
|
static BYTE parms[] =
|
|
VTS_BOOL;
|
|
InvokeHelper(0x84, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
|
|
bScroll);
|
|
}
|
|
|
|
short CctSchedule::KeyIDItem(LPCTSTR strText)
|
|
{
|
|
short result;
|
|
static BYTE parms[] =
|
|
VTS_BSTR;
|
|
InvokeHelper(0x85, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
|
|
strText);
|
|
return result;
|
|
}
|
|
|
|
short CctSchedule::KeyIDBar(LPCTSTR strText, short nIndex)
|
|
{
|
|
short result;
|
|
static BYTE parms[] =
|
|
VTS_BSTR VTS_I2;
|
|
InvokeHelper(0x86, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
|
|
strText, nIndex);
|
|
return result;
|
|
}
|
|
|
|
BOOL CctSchedule::BarIsMilestone(short nIndex, short nBar)
|
|
{
|
|
BOOL result;
|
|
static BYTE parms[] =
|
|
VTS_I2 VTS_I2;
|
|
InvokeHelper(0x87, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
|
|
nIndex, nBar);
|
|
return result;
|
|
}
|
|
|
|
short CctSchedule::AddColorBar(long lTimeStart, long lTimeEnd, long lDateStart, long lDateEnd, unsigned long clrTimeColor)
|
|
{
|
|
short result;
|
|
static BYTE parms[] =
|
|
VTS_I4 VTS_I4 VTS_I4 VTS_I4 VTS_I4;
|
|
InvokeHelper(0x88, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
|
|
lTimeStart, lTimeEnd, lDateStart, lDateEnd, clrTimeColor);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::ClearColorBars()
|
|
{
|
|
InvokeHelper(0x89, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
|
|
}
|
|
|
|
BOOL CctSchedule::DeleteColorBar(short nIndex)
|
|
{
|
|
BOOL result;
|
|
static BYTE parms[] =
|
|
VTS_I2;
|
|
InvokeHelper(0x8a, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
|
|
nIndex);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::TimeScroll(long lDate, long lTime)
|
|
{
|
|
static BYTE parms[] =
|
|
VTS_I4 VTS_I4;
|
|
InvokeHelper(0x8b, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
|
|
lDate, lTime);
|
|
}
|
|
|
|
void CctSchedule::StopTimer()
|
|
{
|
|
InvokeHelper(0x8c, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
|
|
}
|
|
|
|
short CctSchedule::AddImage(LPDISPATCH picImage)
|
|
{
|
|
short result;
|
|
static BYTE parms[] =
|
|
VTS_DISPATCH;
|
|
InvokeHelper(0x8d, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
|
|
picImage);
|
|
return result;
|
|
}
|
|
|
|
BOOL CctSchedule::RemoveImage(short nIndex)
|
|
{
|
|
BOOL result;
|
|
static BYTE parms[] =
|
|
VTS_I2;
|
|
InvokeHelper(0x8e, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
|
|
nIndex);
|
|
return result;
|
|
}
|
|
|
|
BOOL CctSchedule::FirstLine(short nLine)
|
|
{
|
|
BOOL result;
|
|
static BYTE parms[] =
|
|
VTS_I2;
|
|
InvokeHelper(0x8f, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
|
|
nLine);
|
|
return result;
|
|
}
|
|
|
|
short CctSchedule::DragOver(short nxPosn, short nyPosn, short nState)
|
|
{
|
|
short result;
|
|
static BYTE parms[] =
|
|
VTS_I2 VTS_I2 VTS_I2;
|
|
InvokeHelper(0x90, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
|
|
nxPosn, nyPosn, nState);
|
|
return result;
|
|
}
|
|
|
|
short CctSchedule::DragDrop(short nxPosn, short nyPosn)
|
|
{
|
|
short result;
|
|
static BYTE parms[] =
|
|
VTS_I2 VTS_I2;
|
|
InvokeHelper(0x91, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
|
|
nxPosn, nyPosn);
|
|
return result;
|
|
}
|
|
|
|
short CctSchedule::ctDragOver(short nxPosn, short nyPosn, short nState)
|
|
{
|
|
short result;
|
|
static BYTE parms[] =
|
|
VTS_I2 VTS_I2 VTS_I2;
|
|
InvokeHelper(0x92, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
|
|
nxPosn, nyPosn, nState);
|
|
return result;
|
|
}
|
|
|
|
short CctSchedule::ctDragDrop(short nxPosn, short nyPosn)
|
|
{
|
|
short result;
|
|
static BYTE parms[] =
|
|
VTS_I2 VTS_I2;
|
|
InvokeHelper(0x93, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
|
|
nxPosn, nyPosn);
|
|
return result;
|
|
}
|
|
|
|
short CctSchedule::GetColumnWidth(short nIndex)
|
|
{
|
|
short result;
|
|
static BYTE parms[] =
|
|
VTS_I2;
|
|
InvokeHelper(0x94, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, parms,
|
|
nIndex);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetColumnWidth(short nIndex, short nNewValue)
|
|
{
|
|
static BYTE parms[] =
|
|
VTS_I2 VTS_I2;
|
|
InvokeHelper(0x94, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
|
|
nIndex, nNewValue);
|
|
}
|
|
|
|
CString CctSchedule::GetListText(short nIndex)
|
|
{
|
|
CString result;
|
|
static BYTE parms[] =
|
|
VTS_I2;
|
|
InvokeHelper(0x95, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, parms,
|
|
nIndex);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetListText(short nIndex, LPCTSTR lpszNewValue)
|
|
{
|
|
static BYTE parms[] =
|
|
VTS_I2 VTS_BSTR;
|
|
InvokeHelper(0x95, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
|
|
nIndex, lpszNewValue);
|
|
}
|
|
|
|
long CctSchedule::GetBarTimeStart(short nIndex, short nBar)
|
|
{
|
|
long result;
|
|
static BYTE parms[] =
|
|
VTS_I2 VTS_I2;
|
|
InvokeHelper(0x96, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
|
|
nIndex, nBar);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetBarTimeStart(short nIndex, short nBar, long nNewValue)
|
|
{
|
|
static BYTE parms[] =
|
|
VTS_I2 VTS_I2 VTS_I4;
|
|
InvokeHelper(0x96, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
|
|
nIndex, nBar, nNewValue);
|
|
}
|
|
|
|
long CctSchedule::GetBarTimeEnd(short nIndex, short nBar)
|
|
{
|
|
long result;
|
|
static BYTE parms[] =
|
|
VTS_I2 VTS_I2;
|
|
InvokeHelper(0x97, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
|
|
nIndex, nBar);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetBarTimeEnd(short nIndex, short nBar, long nNewValue)
|
|
{
|
|
static BYTE parms[] =
|
|
VTS_I2 VTS_I2 VTS_I4;
|
|
InvokeHelper(0x97, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
|
|
nIndex, nBar, nNewValue);
|
|
}
|
|
|
|
long CctSchedule::GetBarDateEnd(short nIndex, short nBar)
|
|
{
|
|
long result;
|
|
static BYTE parms[] =
|
|
VTS_I2 VTS_I2;
|
|
InvokeHelper(0x98, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
|
|
nIndex, nBar);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetBarDateEnd(short nIndex, short nBar, long nNewValue)
|
|
{
|
|
static BYTE parms[] =
|
|
VTS_I2 VTS_I2 VTS_I4;
|
|
InvokeHelper(0x98, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
|
|
nIndex, nBar, nNewValue);
|
|
}
|
|
|
|
long CctSchedule::GetBarDateStart(short nIndex, short nBar)
|
|
{
|
|
long result;
|
|
static BYTE parms[] =
|
|
VTS_I2 VTS_I2;
|
|
InvokeHelper(0x99, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
|
|
nIndex, nBar);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetBarDateStart(short nIndex, short nBar, long nNewValue)
|
|
{
|
|
static BYTE parms[] =
|
|
VTS_I2 VTS_I2 VTS_I4;
|
|
InvokeHelper(0x99, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
|
|
nIndex, nBar, nNewValue);
|
|
}
|
|
|
|
short CctSchedule::GetMaxTimeBars(short nIndex)
|
|
{
|
|
short result;
|
|
static BYTE parms[] =
|
|
VTS_I2;
|
|
InvokeHelper(0x9a, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, parms,
|
|
nIndex);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetMaxTimeBars(short nIndex, short nNewValue)
|
|
{
|
|
static BYTE parms[] =
|
|
VTS_I2 VTS_I2;
|
|
InvokeHelper(0x9a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
|
|
nIndex, nNewValue);
|
|
}
|
|
|
|
short CctSchedule::GetBarStyle(short nIndex, short nBar)
|
|
{
|
|
short result;
|
|
static BYTE parms[] =
|
|
VTS_I2 VTS_I2;
|
|
InvokeHelper(0x9b, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, parms,
|
|
nIndex, nBar);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetBarStyle(short nIndex, short nBar, short nNewValue)
|
|
{
|
|
static BYTE parms[] =
|
|
VTS_I2 VTS_I2 VTS_I2;
|
|
InvokeHelper(0x9b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
|
|
nIndex, nBar, nNewValue);
|
|
}
|
|
|
|
unsigned long CctSchedule::GetBarBackColor(short nIndex, short nBar)
|
|
{
|
|
unsigned long result;
|
|
static BYTE parms[] =
|
|
VTS_I2 VTS_I2;
|
|
InvokeHelper(0x9c, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
|
|
nIndex, nBar);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetBarBackColor(short nIndex, short nBar, unsigned long newValue)
|
|
{
|
|
static BYTE parms[] =
|
|
VTS_I2 VTS_I2 VTS_I4;
|
|
InvokeHelper(0x9c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
|
|
nIndex, nBar, newValue);
|
|
}
|
|
|
|
unsigned long CctSchedule::GetBarForeColor(short nIndex, short nBar)
|
|
{
|
|
unsigned long result;
|
|
static BYTE parms[] =
|
|
VTS_I2 VTS_I2;
|
|
InvokeHelper(0x9d, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
|
|
nIndex, nBar);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetBarForeColor(short nIndex, short nBar, unsigned long newValue)
|
|
{
|
|
static BYTE parms[] =
|
|
VTS_I2 VTS_I2 VTS_I4;
|
|
InvokeHelper(0x9d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
|
|
nIndex, nBar, newValue);
|
|
}
|
|
|
|
unsigned long CctSchedule::GetStyleBackColor(short nIndex)
|
|
{
|
|
unsigned long result;
|
|
static BYTE parms[] =
|
|
VTS_I2;
|
|
InvokeHelper(0x9e, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
|
|
nIndex);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetStyleBackColor(short nIndex, unsigned long newValue)
|
|
{
|
|
static BYTE parms[] =
|
|
VTS_I2 VTS_I4;
|
|
InvokeHelper(0x9e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
|
|
nIndex, newValue);
|
|
}
|
|
|
|
unsigned long CctSchedule::GetStyleForeColor(short nIndex)
|
|
{
|
|
unsigned long result;
|
|
static BYTE parms[] =
|
|
VTS_I2;
|
|
InvokeHelper(0x9f, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
|
|
nIndex);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetStyleForeColor(short nIndex, unsigned long newValue)
|
|
{
|
|
static BYTE parms[] =
|
|
VTS_I2 VTS_I4;
|
|
InvokeHelper(0x9f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
|
|
nIndex, newValue);
|
|
}
|
|
|
|
short CctSchedule::GetStyleStartImage(short nIndex)
|
|
{
|
|
short result;
|
|
static BYTE parms[] =
|
|
VTS_I2;
|
|
InvokeHelper(0xa0, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, parms,
|
|
nIndex);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetStyleStartImage(short nIndex, short nNewValue)
|
|
{
|
|
static BYTE parms[] =
|
|
VTS_I2 VTS_I2;
|
|
InvokeHelper(0xa0, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
|
|
nIndex, nNewValue);
|
|
}
|
|
|
|
short CctSchedule::GetStyleStartYOffset(short nIndex)
|
|
{
|
|
short result;
|
|
static BYTE parms[] =
|
|
VTS_I2;
|
|
InvokeHelper(0xa1, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, parms,
|
|
nIndex);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetStyleStartYOffset(short nIndex, short nNewValue)
|
|
{
|
|
static BYTE parms[] =
|
|
VTS_I2 VTS_I2;
|
|
InvokeHelper(0xa1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
|
|
nIndex, nNewValue);
|
|
}
|
|
|
|
short CctSchedule::GetStyleEndImage(short nIndex)
|
|
{
|
|
short result;
|
|
static BYTE parms[] =
|
|
VTS_I2;
|
|
InvokeHelper(0xa2, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, parms,
|
|
nIndex);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetStyleEndImage(short nIndex, short nNewValue)
|
|
{
|
|
static BYTE parms[] =
|
|
VTS_I2 VTS_I2;
|
|
InvokeHelper(0xa2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
|
|
nIndex, nNewValue);
|
|
}
|
|
|
|
short CctSchedule::GetStyleEndXOffset(short nIndex)
|
|
{
|
|
short result;
|
|
static BYTE parms[] =
|
|
VTS_I2;
|
|
InvokeHelper(0xa3, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, parms,
|
|
nIndex);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetStyleEndXOffset(short nIndex, short nNewValue)
|
|
{
|
|
static BYTE parms[] =
|
|
VTS_I2 VTS_I2;
|
|
InvokeHelper(0xa3, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
|
|
nIndex, nNewValue);
|
|
}
|
|
|
|
short CctSchedule::GetStyleEndYOffset(short nIndex)
|
|
{
|
|
short result;
|
|
static BYTE parms[] =
|
|
VTS_I2;
|
|
InvokeHelper(0xa4, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, parms,
|
|
nIndex);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetStyleEndYOffset(short nIndex, short nNewValue)
|
|
{
|
|
static BYTE parms[] =
|
|
VTS_I2 VTS_I2;
|
|
InvokeHelper(0xa4, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
|
|
nIndex, nNewValue);
|
|
}
|
|
|
|
short CctSchedule::GetStyleStartXOffset(short nIndex)
|
|
{
|
|
short result;
|
|
static BYTE parms[] =
|
|
VTS_I2;
|
|
InvokeHelper(0xa5, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, parms,
|
|
nIndex);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetStyleStartXOffset(short nIndex, short nNewValue)
|
|
{
|
|
static BYTE parms[] =
|
|
VTS_I2 VTS_I2;
|
|
InvokeHelper(0xa5, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
|
|
nIndex, nNewValue);
|
|
}
|
|
|
|
BOOL CctSchedule::GetStyleStartFront(short nIndex)
|
|
{
|
|
BOOL result;
|
|
static BYTE parms[] =
|
|
VTS_I2;
|
|
InvokeHelper(0xa6, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, parms,
|
|
nIndex);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetStyleStartFront(short nIndex, BOOL bNewValue)
|
|
{
|
|
static BYTE parms[] =
|
|
VTS_I2 VTS_BOOL;
|
|
InvokeHelper(0xa6, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
|
|
nIndex, bNewValue);
|
|
}
|
|
|
|
BOOL CctSchedule::GetStyleEndFront(short nIndex)
|
|
{
|
|
BOOL result;
|
|
static BYTE parms[] =
|
|
VTS_I2;
|
|
InvokeHelper(0xa7, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, parms,
|
|
nIndex);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetStyleEndFront(short nIndex, BOOL bNewValue)
|
|
{
|
|
static BYTE parms[] =
|
|
VTS_I2 VTS_BOOL;
|
|
InvokeHelper(0xa7, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
|
|
nIndex, bNewValue);
|
|
}
|
|
|
|
CString CctSchedule::GetBarText(short nIndex, short nBar)
|
|
{
|
|
CString result;
|
|
static BYTE parms[] =
|
|
VTS_I2 VTS_I2;
|
|
InvokeHelper(0xa8, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, parms,
|
|
nIndex, nBar);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetBarText(short nIndex, short nBar, LPCTSTR lpszNewValue)
|
|
{
|
|
static BYTE parms[] =
|
|
VTS_I2 VTS_I2 VTS_BSTR;
|
|
InvokeHelper(0xa8, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
|
|
nIndex, nBar, lpszNewValue);
|
|
}
|
|
|
|
short CctSchedule::GetBarTextAlign(short nIndex, short nBar)
|
|
{
|
|
short result;
|
|
static BYTE parms[] =
|
|
VTS_I2 VTS_I2;
|
|
InvokeHelper(0xa9, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, parms,
|
|
nIndex, nBar);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetBarTextAlign(short nIndex, short nBar, short nNewValue)
|
|
{
|
|
static BYTE parms[] =
|
|
VTS_I2 VTS_I2 VTS_I2;
|
|
InvokeHelper(0xa9, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
|
|
nIndex, nBar, nNewValue);
|
|
}
|
|
|
|
short CctSchedule::GetBarCount(short nIndex)
|
|
{
|
|
short result;
|
|
static BYTE parms[] =
|
|
VTS_I2;
|
|
InvokeHelper(0xaa, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, parms,
|
|
nIndex);
|
|
return result;
|
|
}
|
|
|
|
CString CctSchedule::GetBarKeyID(short nIndex, short nBar)
|
|
{
|
|
CString result;
|
|
static BYTE parms[] =
|
|
VTS_I2 VTS_I2;
|
|
InvokeHelper(0xab, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, parms,
|
|
nIndex, nBar);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetBarKeyID(short nIndex, short nBar, LPCTSTR lpszNewValue)
|
|
{
|
|
static BYTE parms[] =
|
|
VTS_I2 VTS_I2 VTS_BSTR;
|
|
InvokeHelper(0xab, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
|
|
nIndex, nBar, lpszNewValue);
|
|
}
|
|
|
|
CString CctSchedule::GetListCargo(short nIndex)
|
|
{
|
|
CString result;
|
|
static BYTE parms[] =
|
|
VTS_I2;
|
|
InvokeHelper(0xac, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, parms,
|
|
nIndex);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetListCargo(short nIndex, LPCTSTR lpszNewValue)
|
|
{
|
|
static BYTE parms[] =
|
|
VTS_I2 VTS_BSTR;
|
|
InvokeHelper(0xac, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
|
|
nIndex, lpszNewValue);
|
|
}
|
|
|
|
short CctSchedule::GetStyleTextXOffset(short nIndex)
|
|
{
|
|
short result;
|
|
static BYTE parms[] =
|
|
VTS_I2;
|
|
InvokeHelper(0xad, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, parms,
|
|
nIndex);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetStyleTextXOffset(short nIndex, short nNewValue)
|
|
{
|
|
static BYTE parms[] =
|
|
VTS_I2 VTS_I2;
|
|
InvokeHelper(0xad, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
|
|
nIndex, nNewValue);
|
|
}
|
|
|
|
short CctSchedule::GetStyleTextYOffset(short nIndex)
|
|
{
|
|
short result;
|
|
static BYTE parms[] =
|
|
VTS_I2;
|
|
InvokeHelper(0xae, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, parms,
|
|
nIndex);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetStyleTextYOffset(short nIndex, short nNewValue)
|
|
{
|
|
static BYTE parms[] =
|
|
VTS_I2 VTS_I2;
|
|
InvokeHelper(0xae, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
|
|
nIndex, nNewValue);
|
|
}
|
|
|
|
CString CctSchedule::GetListColumnText(short nIndex, short nColumn)
|
|
{
|
|
CString result;
|
|
static BYTE parms[] =
|
|
VTS_I2 VTS_I2;
|
|
InvokeHelper(0xaf, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, parms,
|
|
nIndex, nColumn);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetListColumnText(short nIndex, short nColumn, LPCTSTR lpszNewValue)
|
|
{
|
|
static BYTE parms[] =
|
|
VTS_I2 VTS_I2 VTS_BSTR;
|
|
InvokeHelper(0xaf, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
|
|
nIndex, nColumn, lpszNewValue);
|
|
}
|
|
|
|
short CctSchedule::GetStyleVOffset(short nIndex)
|
|
{
|
|
short result;
|
|
static BYTE parms[] =
|
|
VTS_I2;
|
|
InvokeHelper(0xb0, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, parms,
|
|
nIndex);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetStyleVOffset(short nIndex, short nNewValue)
|
|
{
|
|
static BYTE parms[] =
|
|
VTS_I2 VTS_I2;
|
|
InvokeHelper(0xb0, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
|
|
nIndex, nNewValue);
|
|
}
|
|
|
|
short CctSchedule::GetStyleBarHeight(short nIndex)
|
|
{
|
|
short result;
|
|
static BYTE parms[] =
|
|
VTS_I2;
|
|
InvokeHelper(0xb1, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, parms,
|
|
nIndex);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetStyleBarHeight(short nIndex, short nNewValue)
|
|
{
|
|
static BYTE parms[] =
|
|
VTS_I2 VTS_I2;
|
|
InvokeHelper(0xb1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
|
|
nIndex, nNewValue);
|
|
}
|
|
|
|
BOOL CctSchedule::GetStyleMilestone(short nIndex)
|
|
{
|
|
BOOL result;
|
|
static BYTE parms[] =
|
|
VTS_I2;
|
|
InvokeHelper(0xb2, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, parms,
|
|
nIndex);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetStyleMilestone(short nIndex, BOOL bNewValue)
|
|
{
|
|
static BYTE parms[] =
|
|
VTS_I2 VTS_BOOL;
|
|
InvokeHelper(0xb2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
|
|
nIndex, bNewValue);
|
|
}
|
|
|
|
long CctSchedule::GetCBarDateStart(short nIndex)
|
|
{
|
|
long result;
|
|
static BYTE parms[] =
|
|
VTS_I2;
|
|
InvokeHelper(0xb3, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
|
|
nIndex);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetCBarDateStart(short nIndex, long nNewValue)
|
|
{
|
|
static BYTE parms[] =
|
|
VTS_I2 VTS_I4;
|
|
InvokeHelper(0xb3, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
|
|
nIndex, nNewValue);
|
|
}
|
|
|
|
long CctSchedule::GetCBarDateEnd(short nIndex)
|
|
{
|
|
long result;
|
|
static BYTE parms[] =
|
|
VTS_I2;
|
|
InvokeHelper(0xb4, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
|
|
nIndex);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetCBarDateEnd(short nIndex, long nNewValue)
|
|
{
|
|
static BYTE parms[] =
|
|
VTS_I2 VTS_I4;
|
|
InvokeHelper(0xb4, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
|
|
nIndex, nNewValue);
|
|
}
|
|
|
|
long CctSchedule::GetCBarTimeStart(short nIndex)
|
|
{
|
|
long result;
|
|
static BYTE parms[] =
|
|
VTS_I2;
|
|
InvokeHelper(0xb5, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
|
|
nIndex);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetCBarTimeStart(short nIndex, long nNewValue)
|
|
{
|
|
static BYTE parms[] =
|
|
VTS_I2 VTS_I4;
|
|
InvokeHelper(0xb5, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
|
|
nIndex, nNewValue);
|
|
}
|
|
|
|
long CctSchedule::GetCBarTimeEnd(short nIndex)
|
|
{
|
|
long result;
|
|
static BYTE parms[] =
|
|
VTS_I2;
|
|
InvokeHelper(0xb6, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
|
|
nIndex);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetCBarTimeEnd(short nIndex, long nNewValue)
|
|
{
|
|
static BYTE parms[] =
|
|
VTS_I2 VTS_I4;
|
|
InvokeHelper(0xb6, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
|
|
nIndex, nNewValue);
|
|
}
|
|
|
|
unsigned long CctSchedule::GetCBarTimeColor(short nIndex)
|
|
{
|
|
unsigned long result;
|
|
static BYTE parms[] =
|
|
VTS_I2;
|
|
InvokeHelper(0xb7, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
|
|
nIndex);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetCBarTimeColor(short nIndex, unsigned long newValue)
|
|
{
|
|
static BYTE parms[] =
|
|
VTS_I2 VTS_I4;
|
|
InvokeHelper(0xb7, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
|
|
nIndex, newValue);
|
|
}
|
|
|
|
BOOL CctSchedule::GetListHeader(short nIndex)
|
|
{
|
|
BOOL result;
|
|
static BYTE parms[] =
|
|
VTS_I2;
|
|
InvokeHelper(0xb8, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, parms,
|
|
nIndex);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetListHeader(short nIndex, BOOL bNewValue)
|
|
{
|
|
static BYTE parms[] =
|
|
VTS_I2 VTS_BOOL;
|
|
InvokeHelper(0xb8, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
|
|
nIndex, bNewValue);
|
|
}
|
|
|
|
BOOL CctSchedule::GetListReadOnly(short nIndex)
|
|
{
|
|
BOOL result;
|
|
static BYTE parms[] =
|
|
VTS_I2;
|
|
InvokeHelper(0xb9, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, parms,
|
|
nIndex);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetListReadOnly(short nIndex, BOOL bNewValue)
|
|
{
|
|
static BYTE parms[] =
|
|
VTS_I2 VTS_BOOL;
|
|
InvokeHelper(0xb9, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
|
|
nIndex, bNewValue);
|
|
}
|
|
|
|
CPicture CctSchedule::GetListImage(short nIndex)
|
|
{
|
|
LPDISPATCH pDispatch;
|
|
static BYTE parms[] =
|
|
VTS_I2;
|
|
InvokeHelper(0xba, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, parms,
|
|
nIndex);
|
|
return CPicture(pDispatch);
|
|
}
|
|
|
|
void CctSchedule::SetListImage(short nIndex, LPDISPATCH newValue)
|
|
{
|
|
static BYTE parms[] =
|
|
VTS_I2 VTS_DISPATCH;
|
|
InvokeHelper(0xba, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
|
|
nIndex, newValue);
|
|
}
|
|
|
|
long CctSchedule::GetBarData(short nIndex, short nBar)
|
|
{
|
|
long result;
|
|
static BYTE parms[] =
|
|
VTS_I2 VTS_I2;
|
|
InvokeHelper(0xbb, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
|
|
nIndex, nBar);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetBarData(short nIndex, short nBar, long nNewValue)
|
|
{
|
|
static BYTE parms[] =
|
|
VTS_I2 VTS_I2 VTS_I4;
|
|
InvokeHelper(0xbb, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
|
|
nIndex, nBar, nNewValue);
|
|
}
|
|
|
|
CString CctSchedule::GetBarCargo(short nIndex, short nBar)
|
|
{
|
|
CString result;
|
|
static BYTE parms[] =
|
|
VTS_I2 VTS_I2;
|
|
InvokeHelper(0xbc, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, parms,
|
|
nIndex, nBar);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetBarCargo(short nIndex, short nBar, LPCTSTR lpszNewValue)
|
|
{
|
|
static BYTE parms[] =
|
|
VTS_I2 VTS_I2 VTS_BSTR;
|
|
InvokeHelper(0xbc, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
|
|
nIndex, nBar, lpszNewValue);
|
|
}
|
|
|
|
long CctSchedule::GetListData(short nIndex)
|
|
{
|
|
long result;
|
|
static BYTE parms[] =
|
|
VTS_I2;
|
|
InvokeHelper(0xbd, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
|
|
nIndex);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetListData(short nIndex, long nNewValue)
|
|
{
|
|
static BYTE parms[] =
|
|
VTS_I2 VTS_I4;
|
|
InvokeHelper(0xbd, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
|
|
nIndex, nNewValue);
|
|
}
|
|
|
|
unsigned long CctSchedule::GetListItemBackColor(short nIndex)
|
|
{
|
|
unsigned long result;
|
|
static BYTE parms[] =
|
|
VTS_I2;
|
|
InvokeHelper(0xbe, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
|
|
nIndex);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetListItemBackColor(short nIndex, unsigned long newValue)
|
|
{
|
|
static BYTE parms[] =
|
|
VTS_I2 VTS_I4;
|
|
InvokeHelper(0xbe, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
|
|
nIndex, newValue);
|
|
}
|
|
|
|
unsigned long CctSchedule::GetListItemForeColor(short nIndex)
|
|
{
|
|
unsigned long result;
|
|
static BYTE parms[] =
|
|
VTS_I2;
|
|
InvokeHelper(0xbf, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
|
|
nIndex);
|
|
return result;
|
|
}
|
|
|
|
void CctSchedule::SetListItemForeColor(short nIndex, unsigned long newValue)
|
|
{
|
|
static BYTE parms[] =
|
|
VTS_I2 VTS_I4;
|
|
InvokeHelper(0xbf, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
|
|
nIndex, newValue);
|
|
}
|
|
|
|
void CctSchedule::AboutBox()
|
|
{
|
|
InvokeHelper(0xfffffdd8, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
|
|
}
|