// 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 "items.h"

// Dispatch interfaces referenced by this interface
#include "Font.h"
#include "Editor.h"


/////////////////////////////////////////////////////////////////////////////
// CItems properties

/////////////////////////////////////////////////////////////////////////////
// CItems operations

long CItems::AddItem(const VARIANT& Caption)
  {
  long result;
  static BYTE parms[] =
    VTS_VARIANT;
  InvokeHelper(0x1, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
               &Caption);
  return result;
  }

long CItems::InsertItem(long Parent, const VARIANT& UserData, const VARIANT& Value)
  {
  long result;
  static BYTE parms[] =
    VTS_I4 VTS_VARIANT VTS_VARIANT;
  InvokeHelper(0x2, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
               Parent, &UserData, &Value);
  return result;
  }

void CItems::RemoveItem(long Item)
  {
  static BYTE parms[] =
    VTS_I4;
  InvokeHelper(0x3, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
               Item);
  }

void CItems::RemoveAllItems()
  {
  InvokeHelper(0x4, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
  }

void CItems::EnsureVisibleItem(long Item)
  {
  static BYTE parms[] =
    VTS_I4;
  InvokeHelper(0x5, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
               Item);
  }

void CItems::SortChildren(long Item, const VARIANT& ColIndex, BOOL Ascending)
  {
  static BYTE parms[] =
    VTS_I4 VTS_VARIANT VTS_BOOL;
  InvokeHelper(0x6, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
               Item, &ColIndex, Ascending);
  }

void CItems::SetParent(long Item, long NewParent)
  {
  static BYTE parms[] =
    VTS_I4 VTS_I4;
  InvokeHelper(0x7, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
               Item, NewParent);
  }

long CItems::InsertControlItem(long Parent, LPCTSTR ControlID, const VARIANT& License)
  {
  long result;
  static BYTE parms[] =
    VTS_I4 VTS_BSTR VTS_VARIANT;
  InvokeHelper(0x9, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
               Parent, ControlID, &License);
  return result;
  }

void CItems::ClearCellBackColor(const VARIANT& Item, const VARIANT& ColIndex)
  {
  static BYTE parms[] =
    VTS_VARIANT VTS_VARIANT;
  InvokeHelper(0xa, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
               &Item, &ColIndex);
  }

void CItems::ClearCellForeColor(const VARIANT& Item, const VARIANT& ColIndex)
  {
  static BYTE parms[] =
    VTS_VARIANT VTS_VARIANT;
  InvokeHelper(0xb, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
               &Item, &ColIndex);
  }

void CItems::ClearItemBackColor(long Item)
  {
  static BYTE parms[] =
    VTS_I4;
  InvokeHelper(0xc, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
               Item);
  }

void CItems::ClearItemForeColor(long Item)
  {
  static BYTE parms[] =
    VTS_I4;
  InvokeHelper(0xd, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
               Item);
  }

long CItems::GetItemCount()
  {
  long result;
  InvokeHelper(0x6c, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  return result;
  }

VARIANT CItems::GetItemData(long Item)
  {
  VARIANT result;
  static BYTE parms[] =
    VTS_I4;
  InvokeHelper(0x6d, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, parms,
               Item);
  return result;
  }

void CItems::SetItemData(long Item, const VARIANT& newValue)
  {
  static BYTE parms[] =
    VTS_I4 VTS_VARIANT;
  InvokeHelper(0x6d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
               Item, &newValue);
  }

BOOL CItems::GetExpandItem(long Item)
  {
  BOOL result;
  static BYTE parms[] =
    VTS_I4;
  InvokeHelper(0x6e, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, parms,
               Item);
  return result;
  }

void CItems::SetExpandItem(long Item, BOOL bNewValue)
  {
  static BYTE parms[] =
    VTS_I4 VTS_BOOL;
  InvokeHelper(0x6e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
               Item, bNewValue);
  }

unsigned long CItems::GetItemBackColor(long Item)
  {
  unsigned long result;
  static BYTE parms[] =
    VTS_I4;
  InvokeHelper(0x6f, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
               Item);
  return result;
  }

void CItems::SetItemBackColor(long Item, unsigned long newValue)
  {
  static BYTE parms[] =
    VTS_I4 VTS_I4;
  InvokeHelper(0x6f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
               Item, newValue);
  }

unsigned long CItems::GetItemForeColor(long Item)
  {
  unsigned long result;
  static BYTE parms[] =
    VTS_I4;
  InvokeHelper(0x70, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
               Item);
  return result;
  }

void CItems::SetItemForeColor(long Item, unsigned long newValue)
  {
  static BYTE parms[] =
    VTS_I4 VTS_I4;
  InvokeHelper(0x70, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
               Item, newValue);
  }

BOOL CItems::GetItemBold(long Item)
  {
  BOOL result;
  static BYTE parms[] =
    VTS_I4;
  InvokeHelper(0x71, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, parms,
               Item);
  return result;
  }

void CItems::SetItemBold(long Item, BOOL bNewValue)
  {
  static BYTE parms[] =
    VTS_I4 VTS_BOOL;
  InvokeHelper(0x71, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
               Item, bNewValue);
  }

BOOL CItems::GetItemItalic(long Item)
  {
  BOOL result;
  static BYTE parms[] =
    VTS_I4;
  InvokeHelper(0x72, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, parms,
               Item);
  return result;
  }

void CItems::SetItemItalic(long Item, BOOL bNewValue)
  {
  static BYTE parms[] =
    VTS_I4 VTS_BOOL;
  InvokeHelper(0x72, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
               Item, bNewValue);
  }

BOOL CItems::GetItemUnderline(long Item)
  {
  BOOL result;
  static BYTE parms[] =
    VTS_I4;
  InvokeHelper(0x73, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, parms,
               Item);
  return result;
  }

void CItems::SetItemUnderline(long Item, BOOL bNewValue)
  {
  static BYTE parms[] =
    VTS_I4 VTS_BOOL;
  InvokeHelper(0x73, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
               Item, bNewValue);
  }

BOOL CItems::GetItemStrikeOut(long Item)
  {
  BOOL result;
  static BYTE parms[] =
    VTS_I4;
  InvokeHelper(0x74, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, parms,
               Item);
  return result;
  }

void CItems::SetItemStrikeOut(long Item, BOOL bNewValue)
  {
  static BYTE parms[] =
    VTS_I4 VTS_BOOL;
  InvokeHelper(0x74, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
               Item, bNewValue);
  }

BOOL CItems::GetEnableItem(long Item)
  {
  BOOL result;
  static BYTE parms[] =
    VTS_I4;
  InvokeHelper(0x75, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, parms,
               Item);
  return result;
  }

void CItems::SetEnableItem(long Item, BOOL bNewValue)
  {
  static BYTE parms[] =
    VTS_I4 VTS_BOOL;
  InvokeHelper(0x75, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
               Item, bNewValue);
  }

long CItems::GetItemHeight(long Item)
  {
  long result;
  static BYTE parms[] =
    VTS_I4;
  InvokeHelper(0x76, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
               Item);
  return result;
  }

void CItems::SetItemHeight(long Item, long nNewValue)
  {
  static BYTE parms[] =
    VTS_I4 VTS_I4;
  InvokeHelper(0x76, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
               Item, nNewValue);
  }

long CItems::GetRootCount()
  {
  long result;
  InvokeHelper(0x77, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  return result;
  }

long CItems::GetRootItem(long Position)
  {
  long result;
  static BYTE parms[] =
    VTS_I4;
  InvokeHelper(0x78, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
               Position);
  return result;
  }

long CItems::GetItemChild(long Item)
  {
  long result;
  static BYTE parms[] =
    VTS_I4;
  InvokeHelper(0x79, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
               Item);
  return result;
  }

long CItems::GetItemParent(long Item)
  {
  long result;
  static BYTE parms[] =
    VTS_I4;
  InvokeHelper(0x7a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
               Item);
  return result;
  }

long CItems::GetNextSiblingItem(long Item)
  {
  long result;
  static BYTE parms[] =
    VTS_I4;
  InvokeHelper(0x7b, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
               Item);
  return result;
  }

long CItems::GetPrevSiblingItem(long Item)
  {
  long result;
  static BYTE parms[] =
    VTS_I4;
  InvokeHelper(0x7c, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
               Item);
  return result;
  }

long CItems::GetChildCount(long Item)
  {
  long result;
  static BYTE parms[] =
    VTS_I4;
  InvokeHelper(0x7d, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
               Item);
  return result;
  }

long CItems::GetFirstVisibleItem()
  {
  long result;
  InvokeHelper(0x7e, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  return result;
  }

long CItems::GetNextVisibleItem(long Item)
  {
  long result;
  static BYTE parms[] =
    VTS_I4;
  InvokeHelper(0x7f, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
               Item);
  return result;
  }

long CItems::GetPrevVisibleItem(long Item)
  {
  long result;
  static BYTE parms[] =
    VTS_I4;
  InvokeHelper(0x80, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
               Item);
  return result;
  }

BOOL CItems::GetIsItemVisible(long Item)
  {
  BOOL result;
  static BYTE parms[] =
    VTS_I4;
  InvokeHelper(0x81, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, parms,
               Item);
  return result;
  }

long CItems::GetFocusItem()
  {
  long result;
  InvokeHelper(0x82, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  return result;
  }

long CItems::GetItemCell(long Item, const VARIANT& ColIndex)
  {
  long result;
  static BYTE parms[] =
    VTS_I4 VTS_VARIANT;
  InvokeHelper(0x83, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
               Item, &ColIndex);
  return result;
  }

CString CItems::GetCellCaption(const VARIANT& Item, const VARIANT& ColIndex)
  {
  CString result;
  static BYTE parms[] =
    VTS_VARIANT VTS_VARIANT;
  InvokeHelper(0x84, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, parms,
               &Item, &ColIndex);
  return result;
  }

unsigned long CItems::GetCellBackColor(const VARIANT& Item, const VARIANT& ColIndex)
  {
  unsigned long result;
  static BYTE parms[] =
    VTS_VARIANT VTS_VARIANT;
  InvokeHelper(0x85, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
               &Item, &ColIndex);
  return result;
  }

void CItems::SetCellBackColor(const VARIANT& Item, const VARIANT& ColIndex, unsigned long newValue)
  {
  static BYTE parms[] =
    VTS_VARIANT VTS_VARIANT VTS_I4;
  InvokeHelper(0x85, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
               &Item, &ColIndex, newValue);
  }

unsigned long CItems::GetCellForeColor(const VARIANT& Item, const VARIANT& ColIndex)
  {
  unsigned long result;
  static BYTE parms[] =
    VTS_VARIANT VTS_VARIANT;
  InvokeHelper(0x86, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
               &Item, &ColIndex);
  return result;
  }

void CItems::SetCellForeColor(const VARIANT& Item, const VARIANT& ColIndex, unsigned long newValue)
  {
  static BYTE parms[] =
    VTS_VARIANT VTS_VARIANT VTS_I4;
  InvokeHelper(0x86, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
               &Item, &ColIndex, newValue);
  }

BOOL CItems::GetCellBold(const VARIANT& Item, const VARIANT& ColIndex)
  {
  BOOL result;
  static BYTE parms[] =
    VTS_VARIANT VTS_VARIANT;
  InvokeHelper(0x87, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, parms,
               &Item, &ColIndex);
  return result;
  }

void CItems::SetCellBold(const VARIANT& Item, const VARIANT& ColIndex, BOOL bNewValue)
  {
  static BYTE parms[] =
    VTS_VARIANT VTS_VARIANT VTS_BOOL;
  InvokeHelper(0x87, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
               &Item, &ColIndex, bNewValue);
  }

BOOL CItems::GetCellItalic(const VARIANT& Item, const VARIANT& ColIndex)
  {
  BOOL result;
  static BYTE parms[] =
    VTS_VARIANT VTS_VARIANT;
  InvokeHelper(0x88, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, parms,
               &Item, &ColIndex);
  return result;
  }

void CItems::SetCellItalic(const VARIANT& Item, const VARIANT& ColIndex, BOOL bNewValue)
  {
  static BYTE parms[] =
    VTS_VARIANT VTS_VARIANT VTS_BOOL;
  InvokeHelper(0x88, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
               &Item, &ColIndex, bNewValue);
  }

BOOL CItems::GetCellUnderline(const VARIANT& Item, const VARIANT& ColIndex)
  {
  BOOL result;
  static BYTE parms[] =
    VTS_VARIANT VTS_VARIANT;
  InvokeHelper(0x89, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, parms,
               &Item, &ColIndex);
  return result;
  }

void CItems::SetCellUnderline(const VARIANT& Item, const VARIANT& ColIndex, BOOL bNewValue)
  {
  static BYTE parms[] =
    VTS_VARIANT VTS_VARIANT VTS_BOOL;
  InvokeHelper(0x89, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
               &Item, &ColIndex, bNewValue);
  }

BOOL CItems::GetCellStrikeOut(const VARIANT& Item, const VARIANT& ColIndex)
  {
  BOOL result;
  static BYTE parms[] =
    VTS_VARIANT VTS_VARIANT;
  InvokeHelper(0x8a, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, parms,
               &Item, &ColIndex);
  return result;
  }

void CItems::SetCellStrikeOut(const VARIANT& Item, const VARIANT& ColIndex, BOOL bNewValue)
  {
  static BYTE parms[] =
    VTS_VARIANT VTS_VARIANT VTS_BOOL;
  InvokeHelper(0x8a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
               &Item, &ColIndex, bNewValue);
  }

BOOL CItems::GetCellEnabled(const VARIANT& Item, const VARIANT& ColIndex)
  {
  BOOL result;
  static BYTE parms[] =
    VTS_VARIANT VTS_VARIANT;
  InvokeHelper(0x8b, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, parms,
               &Item, &ColIndex);
  return result;
  }

void CItems::SetCellEnabled(const VARIANT& Item, const VARIANT& ColIndex, BOOL bNewValue)
  {
  static BYTE parms[] =
    VTS_VARIANT VTS_VARIANT VTS_BOOL;
  InvokeHelper(0x8b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
               &Item, &ColIndex, bNewValue);
  }

VARIANT CItems::GetCellData(const VARIANT& Item, const VARIANT& ColIndex)
  {
  VARIANT result;
  static BYTE parms[] =
    VTS_VARIANT VTS_VARIANT;
  InvokeHelper(0x8c, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, parms,
               &Item, &ColIndex);
  return result;
  }

void CItems::SetCellData(const VARIANT& Item, const VARIANT& ColIndex, const VARIANT& newValue)
  {
  static BYTE parms[] =
    VTS_VARIANT VTS_VARIANT VTS_VARIANT;
  InvokeHelper(0x8c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
               &Item, &ColIndex, &newValue);
  }

CString CItems::GetCellToolTip(const VARIANT& Item, const VARIANT& ColIndex)
  {
  CString result;
  static BYTE parms[] =
    VTS_VARIANT VTS_VARIANT;
  InvokeHelper(0x8d, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, parms,
               &Item, &ColIndex);
  return result;
  }

void CItems::SetCellToolTip(const VARIANT& Item, const VARIANT& ColIndex, LPCTSTR lpszNewValue)
  {
  static BYTE parms[] =
    VTS_VARIANT VTS_VARIANT VTS_BSTR;
  InvokeHelper(0x8d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
               &Item, &ColIndex, lpszNewValue);
  }

BOOL CItems::GetCellSingleLine(const VARIANT& Item, const VARIANT& ColIndex)
  {
  BOOL result;
  static BYTE parms[] =
    VTS_VARIANT VTS_VARIANT;
  InvokeHelper(0x8e, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, parms,
               &Item, &ColIndex);
  return result;
  }

void CItems::SetCellSingleLine(const VARIANT& Item, const VARIANT& ColIndex, BOOL bNewValue)
  {
  static BYTE parms[] =
    VTS_VARIANT VTS_VARIANT VTS_BOOL;
  InvokeHelper(0x8e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
               &Item, &ColIndex, bNewValue);
  }

BOOL CItems::GetCellHasCheckBox(const VARIANT& Item, const VARIANT& ColIndex)
  {
  BOOL result;
  static BYTE parms[] =
    VTS_VARIANT VTS_VARIANT;
  InvokeHelper(0x8f, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, parms,
               &Item, &ColIndex);
  return result;
  }

void CItems::SetCellHasCheckBox(const VARIANT& Item, const VARIANT& ColIndex, BOOL bNewValue)
  {
  static BYTE parms[] =
    VTS_VARIANT VTS_VARIANT VTS_BOOL;
  InvokeHelper(0x8f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
               &Item, &ColIndex, bNewValue);
  }

BOOL CItems::GetCellHasRadioButton(const VARIANT& Item, const VARIANT& ColIndex)
  {
  BOOL result;
  static BYTE parms[] =
    VTS_VARIANT VTS_VARIANT;
  InvokeHelper(0x90, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, parms,
               &Item, &ColIndex);
  return result;
  }

void CItems::SetCellHasRadioButton(const VARIANT& Item, const VARIANT& ColIndex, BOOL bNewValue)
  {
  static BYTE parms[] =
    VTS_VARIANT VTS_VARIANT VTS_BOOL;
  InvokeHelper(0x90, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
               &Item, &ColIndex, bNewValue);
  }

BOOL CItems::GetCellHasButton(const VARIANT& Item, const VARIANT& ColIndex)
  {
  BOOL result;
  static BYTE parms[] =
    VTS_VARIANT VTS_VARIANT;
  InvokeHelper(0x91, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, parms,
               &Item, &ColIndex);
  return result;
  }

void CItems::SetCellHasButton(const VARIANT& Item, const VARIANT& ColIndex, BOOL bNewValue)
  {
  static BYTE parms[] =
    VTS_VARIANT VTS_VARIANT VTS_BOOL;
  InvokeHelper(0x91, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
               &Item, &ColIndex, bNewValue);
  }

long CItems::GetCellRadioGroup(const VARIANT& Item, const VARIANT& ColIndex)
  {
  long result;
  static BYTE parms[] =
    VTS_VARIANT VTS_VARIANT;
  InvokeHelper(0x92, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
               &Item, &ColIndex);
  return result;
  }

void CItems::SetCellRadioGroup(const VARIANT& Item, const VARIANT& ColIndex, long nNewValue)
  {
  static BYTE parms[] =
    VTS_VARIANT VTS_VARIANT VTS_I4;
  InvokeHelper(0x92, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
               &Item, &ColIndex, nNewValue);
  }

long CItems::GetCellState(const VARIANT& Item, const VARIANT& ColIndex)
  {
  long result;
  static BYTE parms[] =
    VTS_VARIANT VTS_VARIANT;
  InvokeHelper(0x93, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
               &Item, &ColIndex);
  return result;
  }

void CItems::SetCellState(const VARIANT& Item, const VARIANT& ColIndex, long nNewValue)
  {
  static BYTE parms[] =
    VTS_VARIANT VTS_VARIANT VTS_I4;
  InvokeHelper(0x93, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
               &Item, &ColIndex, nNewValue);
  }

long CItems::GetCellItem(long Cell)
  {
  long result;
  static BYTE parms[] =
    VTS_I4;
  InvokeHelper(0x94, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
               Cell);
  return result;
  }

void CItems::SetCellImage(const VARIANT& Item, const VARIANT& ColIndex, long nNewValue)
  {
  static BYTE parms[] =
    VTS_VARIANT VTS_VARIANT VTS_I4;
  InvokeHelper(0x95, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
               &Item, &ColIndex, nNewValue);
  }

long CItems::GetCellImage(const VARIANT& Item, const VARIANT& ColIndex)
  {
  long result;
  static BYTE parms[] =
    VTS_VARIANT VTS_VARIANT;
  InvokeHelper(0x95, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
               &Item, &ColIndex);
  return result;
  }

BOOL CItems::GetSelectItem(long Item)
  {
  BOOL result;
  static BYTE parms[] =
    VTS_I4;
  InvokeHelper(0x96, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, parms,
               Item);
  return result;
  }

void CItems::SetSelectItem(long Item, BOOL bNewValue)
  {
  static BYTE parms[] =
    VTS_I4 VTS_BOOL;
  InvokeHelper(0x96, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
               Item, bNewValue);
  }

long CItems::GetSelectCount()
  {
  long result;
  InvokeHelper(0x97, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  return result;
  }

long CItems::GetSelectedItem(long Index)
  {
  long result;
  static BYTE parms[] =
    VTS_I4;
  InvokeHelper(0x98, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
               Index);
  return result;
  }

void CItems::SetItemHasChildren(long Item, BOOL bNewValue)
  {
  static BYTE parms[] =
    VTS_I4 VTS_BOOL;
  InvokeHelper(0x99, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
               Item, bNewValue);
  }

BOOL CItems::GetItemHasChildren(long Item)
  {
  BOOL result;
  static BYTE parms[] =
    VTS_I4;
  InvokeHelper(0x99, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, parms,
               Item);
  return result;
  }

long CItems::GetVisibleCount()
  {
  long result;
  InvokeHelper(0x9a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  return result;
  }

long CItems::GetCellChecked(long RadioGroup)
  {
  long result;
  static BYTE parms[] =
    VTS_I4;
  InvokeHelper(0x9b, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
               RadioGroup);
  return result;
  }

long CItems::GetLastVisibleItem(const VARIANT& Partially)
  {
  long result;
  static BYTE parms[] =
    VTS_VARIANT;
  InvokeHelper(0x9d, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
               &Partially);
  return result;
  }

BOOL CItems::GetAcceptSetParent(long Item, long NewParent)
  {
  BOOL result;
  static BYTE parms[] =
    VTS_I4 VTS_I4;
  InvokeHelper(0x9f, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, parms,
               Item, NewParent);
  return result;
  }

long CItems::GetFindItem(const VARIANT& Value, const VARIANT& ColIndex, const VARIANT& StartIndex)
  {
  long result;
  static BYTE parms[] =
    VTS_VARIANT VTS_VARIANT VTS_VARIANT;
  InvokeHelper(0xa0, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
               &Value, &ColIndex, &StartIndex);
  return result;
  }

LPDISPATCH CItems::GetItemObject(long Item)
  {
  LPDISPATCH result;
  static BYTE parms[] =
    VTS_I4;
  InvokeHelper(0xa1, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, parms,
               Item);
  return result;
  }

long CItems::GetItemAppearance(long Item)
  {
  long result;
  static BYTE parms[] =
    VTS_I4;
  InvokeHelper(0xa2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
               Item);
  return result;
  }

void CItems::SetItemAppearance(long Item, long nNewValue)
  {
  static BYTE parms[] =
    VTS_I4 VTS_I4;
  InvokeHelper(0xa2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
               Item, nNewValue);
  }

long CItems::GetItemWindowHost(long Item)
  {
  long result;
  static BYTE parms[] =
    VTS_I4;
  InvokeHelper(0xa3, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
               Item);
  return result;
  }

long CItems::GetItemWindowHostCreateStyle(long Item)
  {
  long result;
  static BYTE parms[] =
    VTS_I4;
  InvokeHelper(0xa4, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
               Item);
  return result;
  }

void CItems::SetItemWindowHostCreateStyle(long Item, long nNewValue)
  {
  static BYTE parms[] =
    VTS_I4 VTS_I4;
  InvokeHelper(0xa4, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
               Item, nNewValue);
  }

CString CItems::GetItemControlID(long Item)
  {
  CString result;
  static BYTE parms[] =
    VTS_I4;
  InvokeHelper(0xa5, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, parms,
               Item);
  return result;
  }

long CItems::GetItemByIndex(long Index)
  {
  long result;
  static BYTE parms[] =
    VTS_I4;
  InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
               Index);
  return result;
  }

CString CItems::GetFullPath(long Item)
  {
  CString result;
  static BYTE parms[] =
    VTS_I4;
  InvokeHelper(0xa6, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, parms,
               Item);
  return result;
  }

CString CItems::GetPathSeparator()
  {
  CString result;
  InvokeHelper(0xa7, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
  return result;
  }

void CItems::SetPathSeparator(LPCTSTR lpszNewValue)
  {
  static BYTE parms[] =
    VTS_BSTR;
  InvokeHelper(0xa7, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
               lpszNewValue);
  }

long CItems::GetFindPath(LPCTSTR Path)
  {
  long result;
  static BYTE parms[] =
    VTS_BSTR;
  InvokeHelper(0xa8, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
               Path);
  return result;
  }

long CItems::GetItemToIndex(long Item)
  {
  long result;
  static BYTE parms[] =
    VTS_I4;
  InvokeHelper(0xa9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
               Item);
  return result;
  }

void CItems::SetCellPicture(const VARIANT& Item, const VARIANT& ColIndex, const VARIANT& newValue)
  {
  static BYTE parms[] =
    VTS_VARIANT VTS_VARIANT VTS_VARIANT;
  InvokeHelper(0xaa, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
               &Item, &ColIndex, &newValue);
  }

VARIANT CItems::GetCellPicture(const VARIANT& Item, const VARIANT& ColIndex)
  {
  VARIANT result;
  static BYTE parms[] =
    VTS_VARIANT VTS_VARIANT;
  InvokeHelper(0xaa, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, parms,
               &Item, &ColIndex);
  return result;
  }

void CItems::SetDefaultItem(long nNewValue)
  {
  static BYTE parms[] =
    VTS_I4;
  InvokeHelper(0xab, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
               nNewValue);
  }

long CItems::GetDefaultItem()
  {
  long result;
  InvokeHelper(0xab, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  return result;
  }

long CItems::GetItemPosition(long Item)
  {
  long result;
  static BYTE parms[] =
    VTS_I4;
  InvokeHelper(0xac, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
               Item);
  return result;
  }

void CItems::SetItemPosition(long Item, long nNewValue)
  {
  static BYTE parms[] =
    VTS_I4 VTS_I4;
  InvokeHelper(0xac, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
               Item, nNewValue);
  }

BOOL CItems::GetCellButtonAutoWidth(const VARIANT& Item, const VARIANT& ColIndex)
  {
  BOOL result;
  static BYTE parms[] =
    VTS_VARIANT VTS_VARIANT;
  InvokeHelper(0xad, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, parms,
               &Item, &ColIndex);
  return result;
  }

void CItems::SetCellButtonAutoWidth(const VARIANT& Item, const VARIANT& ColIndex, BOOL bNewValue)
  {
  static BYTE parms[] =
    VTS_VARIANT VTS_VARIANT VTS_BOOL;
  InvokeHelper(0xad, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
               &Item, &ColIndex, bNewValue);
  }

long CItems::GetItemWidth(long Item)
  {
  long result;
  static BYTE parms[] =
    VTS_I4;
  InvokeHelper(0xae, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
               Item);
  return result;
  }

void CItems::SetItemWidth(long Item, long nNewValue)
  {
  static BYTE parms[] =
    VTS_I4 VTS_I4;
  InvokeHelper(0xae, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
               Item, nNewValue);
  }

long CItems::GetFindItemData(const VARIANT& UserData, const VARIANT& StartIndex)
  {
  long result;
  static BYTE parms[] =
    VTS_VARIANT VTS_VARIANT;
  InvokeHelper(0xaf, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
               &UserData, &StartIndex);
  return result;
  }

void CItems::SetCellHyperLink(const VARIANT& Item, const VARIANT& ColIndex, BOOL bNewValue)
  {
  static BYTE parms[] =
    VTS_VARIANT VTS_VARIANT VTS_BOOL;
  InvokeHelper(0xb0, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
               &Item, &ColIndex, bNewValue);
  }

BOOL CItems::GetCellHyperLink(const VARIANT& Item, const VARIANT& ColIndex)
  {
  BOOL result;
  static BYTE parms[] =
    VTS_VARIANT VTS_VARIANT;
  InvokeHelper(0xb0, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, parms,
               &Item, &ColIndex);
  return result;
  }

void CItems::SetCellVAlignment(const VARIANT& Item, const VARIANT& ColIndex, long nNewValue)
  {
  static BYTE parms[] =
    VTS_VARIANT VTS_VARIANT VTS_I4;
  InvokeHelper(0xb1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
               &Item, &ColIndex, nNewValue);
  }

long CItems::GetCellVAlignment(const VARIANT& Item, const VARIANT& ColIndex)
  {
  long result;
  static BYTE parms[] =
    VTS_VARIANT VTS_VARIANT;
  InvokeHelper(0xb1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
               &Item, &ColIndex);
  return result;
  }

void CItems::SetItemFont(long Item, LPDISPATCH newValue)
  {
  static BYTE parms[] =
    VTS_I4 VTS_DISPATCH;
  InvokeHelper(0xb2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
               Item, newValue);
  }

COleFont CItems::GetItemFont(long Item)
  {
  LPDISPATCH pDispatch;
  static BYTE parms[] =
    VTS_I4;
  InvokeHelper(0xb2, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, parms,
               Item);
  return COleFont(pDispatch);
  }

void CItems::SetRefItemFont(long Item, LPDISPATCH newValue)
  {
  static BYTE parms[] =
    VTS_I4 VTS_DISPATCH;
  InvokeHelper(0xb2, DISPATCH_PROPERTYPUTREF, VT_EMPTY, NULL, parms,
               Item, newValue);
  }

void CItems::SetCellFont(const VARIANT& Item, const VARIANT& ColIndex, LPDISPATCH newValue)
  {
  static BYTE parms[] =
    VTS_VARIANT VTS_VARIANT VTS_DISPATCH;
  InvokeHelper(0xb3, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
               &Item, &ColIndex, newValue);
  }

COleFont CItems::GetCellFont(const VARIANT& Item, const VARIANT& ColIndex)
  {
  LPDISPATCH pDispatch;
  static BYTE parms[] =
    VTS_VARIANT VTS_VARIANT;
  InvokeHelper(0xb3, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, parms,
               &Item, &ColIndex);
  return COleFont(pDispatch);
  }

void CItems::SetRefCellFont(const VARIANT& Item, const VARIANT& ColIndex, LPDISPATCH newValue)
  {
  static BYTE parms[] =
    VTS_VARIANT VTS_VARIANT VTS_DISPATCH;
  InvokeHelper(0xb3, DISPATCH_PROPERTYPUTREF, VT_EMPTY, NULL, parms,
               &Item, &ColIndex, newValue);
  }

long CItems::GetCellValueFormat(const VARIANT& Item, const VARIANT& ColIndex)
  {
  long result;
  static BYTE parms[] =
    VTS_VARIANT VTS_VARIANT;
  InvokeHelper(0xb4, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
               &Item, &ColIndex);
  return result;
  }

void CItems::SetCellValueFormat(const VARIANT& Item, const VARIANT& ColIndex, long nNewValue)
  {
  static BYTE parms[] =
    VTS_VARIANT VTS_VARIANT VTS_I4;
  InvokeHelper(0xb4, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
               &Item, &ColIndex, nNewValue);
  }

void CItems::SetCellImages(const VARIANT& Item, const VARIANT& ColIndex, const VARIANT& newValue)
  {
  static BYTE parms[] =
    VTS_VARIANT VTS_VARIANT VTS_VARIANT;
  InvokeHelper(0xb5, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
               &Item, &ColIndex, &newValue);
  }

VARIANT CItems::GetCellImages(const VARIANT& Item, const VARIANT& ColIndex)
  {
  VARIANT result;
  static BYTE parms[] =
    VTS_VARIANT VTS_VARIANT;
  InvokeHelper(0xb5, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, parms,
               &Item, &ColIndex);
  return result;
  }

void CItems::SetCellHAlignment(const VARIANT& Item, const VARIANT& ColIndex, long nNewValue)
  {
  static BYTE parms[] =
    VTS_VARIANT VTS_VARIANT VTS_I4;
  InvokeHelper(0xb6, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
               &Item, &ColIndex, nNewValue);
  }

long CItems::GetCellHAlignment(const VARIANT& Item, const VARIANT& ColIndex)
  {
  long result;
  static BYTE parms[] =
    VTS_VARIANT VTS_VARIANT;
  InvokeHelper(0xb6, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
               &Item, &ColIndex);
  return result;
  }

void CItems::ClearCellHAlignment(const VARIANT& Item, const VARIANT& ColIndex)
  {
  static BYTE parms[] =
    VTS_VARIANT VTS_VARIANT;
  InvokeHelper(0xb7, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
               &Item, &ColIndex);
  }

long CItems::GetItemMaxHeight(long Item)
  {
  long result;
  static BYTE parms[] =
    VTS_I4;
  InvokeHelper(0xb8, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
               Item);
  return result;
  }

void CItems::SetItemMaxHeight(long Item, long nNewValue)
  {
  static BYTE parms[] =
    VTS_I4 VTS_I4;
  InvokeHelper(0xb8, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
               Item, nNewValue);
  }

long CItems::GetLockedItemCount(long Alignment)
  {
  long result;
  static BYTE parms[] =
    VTS_I4;
  InvokeHelper(0xb9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
               Alignment);
  return result;
  }

void CItems::SetLockedItemCount(long Alignment, long nNewValue)
  {
  static BYTE parms[] =
    VTS_I4 VTS_I4;
  InvokeHelper(0xb9, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
               Alignment, nNewValue);
  }

long CItems::GetLockedItem(long Alignment, long Index)
  {
  long result;
  static BYTE parms[] =
    VTS_I4 VTS_I4;
  InvokeHelper(0xba, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
               Alignment, Index);
  return result;
  }

BOOL CItems::GetIsItemLocked(long Item)
  {
  BOOL result;
  static BYTE parms[] =
    VTS_I4;
  InvokeHelper(0xbb, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, parms,
               Item);
  return result;
  }

long CItems::GetItemDivider(long Item)
  {
  long result;
  static BYTE parms[] =
    VTS_I4;
  InvokeHelper(0xbc, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
               Item);
  return result;
  }

void CItems::SetItemDivider(long Item, long nNewValue)
  {
  static BYTE parms[] =
    VTS_I4 VTS_I4;
  InvokeHelper(0xbc, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
               Item, nNewValue);
  }

long CItems::GetItemDividerLine(long Item)
  {
  long result;
  static BYTE parms[] =
    VTS_I4;
  InvokeHelper(0xbd, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
               Item);
  return result;
  }

void CItems::SetItemDividerLine(long Item, long nNewValue)
  {
  static BYTE parms[] =
    VTS_I4 VTS_I4;
  InvokeHelper(0xbd, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
               Item, nNewValue);
  }

long CItems::GetItemDividerLineAlignment(long Item)
  {
  long result;
  static BYTE parms[] =
    VTS_I4;
  InvokeHelper(0xbe, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
               Item);
  return result;
  }

void CItems::SetItemDividerLineAlignment(long Item, long nNewValue)
  {
  static BYTE parms[] =
    VTS_I4 VTS_I4;
  InvokeHelper(0xbe, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
               Item, nNewValue);
  }

void CItems::MergeCells(const VARIANT& Cell1, const VARIANT& Cell2, const VARIANT& Options)
  {
  static BYTE parms[] =
    VTS_VARIANT VTS_VARIANT VTS_VARIANT;
  InvokeHelper(0xbf, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
               &Cell1, &Cell2, &Options);
  }

void CItems::UnmergeCells(const VARIANT& Cell)
  {
  static BYTE parms[] =
    VTS_VARIANT;
  InvokeHelper(0xc0, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
               &Cell);
  }

VARIANT CItems::GetCellMerge(const VARIANT& Item, const VARIANT& ColIndex)
  {
  VARIANT result;
  static BYTE parms[] =
    VTS_VARIANT VTS_VARIANT;
  InvokeHelper(0xc1, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, parms,
               &Item, &ColIndex);
  return result;
  }

void CItems::SetCellMerge(const VARIANT& Item, const VARIANT& ColIndex, const VARIANT& newValue)
  {
  static BYTE parms[] =
    VTS_VARIANT VTS_VARIANT VTS_VARIANT;
  InvokeHelper(0xc1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
               &Item, &ColIndex, &newValue);
  }

VARIANT CItems::GetSelectPos()
  {
  VARIANT result;
  InvokeHelper(0xc2, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
  return result;
  }

void CItems::SetSelectPos(const VARIANT& newValue)
  {
  static BYTE parms[] =
    VTS_VARIANT;
  InvokeHelper(0xc2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
               &newValue);
  }

VARIANT CItems::GetSplitCell(const VARIANT& Item, const VARIANT& ColIndex)
  {
  VARIANT result;
  static BYTE parms[] =
    VTS_VARIANT VTS_VARIANT;
  InvokeHelper(0xc3, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, parms,
               &Item, &ColIndex);
  return result;
  }

void CItems::UnsplitCell(const VARIANT& Item, const VARIANT& ColIndex)
  {
  static BYTE parms[] =
    VTS_VARIANT VTS_VARIANT;
  InvokeHelper(0xc4, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
               &Item, &ColIndex);
  }

long CItems::GetCellWidth(const VARIANT& Item, const VARIANT& ColIndex)
  {
  long result;
  static BYTE parms[] =
    VTS_VARIANT VTS_VARIANT;
  InvokeHelper(0xc5, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
               &Item, &ColIndex);
  return result;
  }

void CItems::SetCellWidth(const VARIANT& Item, const VARIANT& ColIndex, long nNewValue)
  {
  static BYTE parms[] =
    VTS_VARIANT VTS_VARIANT VTS_I4;
  InvokeHelper(0xc5, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
               &Item, &ColIndex, nNewValue);
  }

VARIANT CItems::GetCellParent(const VARIANT& Item, const VARIANT& ColIndex)
  {
  VARIANT result;
  static BYTE parms[] =
    VTS_VARIANT VTS_VARIANT;
  InvokeHelper(0xc6, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, parms,
               &Item, &ColIndex);
  return result;
  }

VARIANT CItems::GetInnerCell(const VARIANT& Item, const VARIANT& ColIndex, const VARIANT& Index)
  {
  VARIANT result;
  static BYTE parms[] =
    VTS_VARIANT VTS_VARIANT VTS_VARIANT;
  InvokeHelper(0xc7, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, parms,
               &Item, &ColIndex, &Index);
  return result;
  }

BOOL CItems::GetSelectableItem(long Item)
  {
  BOOL result;
  static BYTE parms[] =
    VTS_I4;
  InvokeHelper(0xc8, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, parms,
               Item);
  return result;
  }

void CItems::SetSelectableItem(long Item, BOOL bNewValue)
  {
  static BYTE parms[] =
    VTS_I4 VTS_BOOL;
  InvokeHelper(0xc8, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
               Item, bNewValue);
  }

BOOL CItems::GetItemAllowSizing(long Item)
  {
  BOOL result;
  static BYTE parms[] =
    VTS_I4;
  InvokeHelper(0xcd, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, parms,
               Item);
  return result;
  }

void CItems::SetItemAllowSizing(long Item, BOOL bNewValue)
  {
  static BYTE parms[] =
    VTS_I4 VTS_BOOL;
  InvokeHelper(0xcd, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
               Item, bNewValue);
  }

void CItems::AddBar(long Item, const VARIANT& BarName, const VARIANT& DateStart, const VARIANT& DateEnd, const VARIANT& Key, const VARIANT& Text)
  {
  static BYTE parms[] =
    VTS_I4 VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT;
  InvokeHelper(0xc9, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
               Item, &BarName, &DateStart, &DateEnd, &Key, &Text);
  }

void CItems::RemoveBar(long Item, const VARIANT& Key)
  {
  static BYTE parms[] =
    VTS_I4 VTS_VARIANT;
  InvokeHelper(0xca, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
               Item, &Key);
  }

void CItems::ClearBars(long Item)
  {
  static BYTE parms[] =
    VTS_I4;
  InvokeHelper(0xcb, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
               Item);
  }

VARIANT CItems::GetItemBar(long Item, const VARIANT& Key, long Property_)
  {
  VARIANT result;
  static BYTE parms[] =
    VTS_I4 VTS_VARIANT VTS_I4;
  InvokeHelper(0xcc, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, parms,
               Item, &Key, Property_);
  return result;
  }

void CItems::SetItemBar(long Item, const VARIANT& Key, long Property_, const VARIANT& newValue)
  {
  static BYTE parms[] =
    VTS_I4 VTS_VARIANT VTS_I4 VTS_VARIANT;
  InvokeHelper(0xcc, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
               Item, &Key, Property_, &newValue);
  }

BOOL CItems::GetCellEditorVisible(const VARIANT& Item, const VARIANT& ColIndex)
  {
  BOOL result;
  static BYTE parms[] =
    VTS_VARIANT VTS_VARIANT;
  InvokeHelper(0xce, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, parms,
               &Item, &ColIndex);
  return result;
  }

void CItems::SetCellEditorVisible(const VARIANT& Item, const VARIANT& ColIndex, BOOL bNewValue)
  {
  static BYTE parms[] =
    VTS_VARIANT VTS_VARIANT VTS_BOOL;
  InvokeHelper(0xce, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
               &Item, &ColIndex, bNewValue);
  }

CEditor CItems::GetCellEditor(const VARIANT& Item, const VARIANT& ColIndex)
  {
  LPDISPATCH pDispatch;
  static BYTE parms[] =
    VTS_VARIANT VTS_VARIANT;
  InvokeHelper(0xcf, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, parms,
               &Item, &ColIndex);
  return CEditor(pDispatch);
  }

void CItems::DeleteCellEditor(const VARIANT& Item, const VARIANT& ColIndex)
  {
  static BYTE parms[] =
    VTS_VARIANT VTS_VARIANT;
  InvokeHelper(0xd0, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
               &Item, &ColIndex);
  }

BOOL CItems::GetHasCellEditor(const VARIANT& Item, const VARIANT& ColIndex)
  {
  BOOL result;
  static BYTE parms[] =
    VTS_VARIANT VTS_VARIANT;
  InvokeHelper(0xd1, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, parms,
               &Item, &ColIndex);
  return result;
  }

VARIANT CItems::GetCellValue(const VARIANT& Item, const VARIANT& ColIndex)
  {
  VARIANT result;
  static BYTE parms[] =
    VTS_VARIANT VTS_VARIANT;
  InvokeHelper(0xd2, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, parms,
               &Item, &ColIndex);
  return result;
  }

void CItems::SetCellValue(const VARIANT& Item, const VARIANT& ColIndex, const VARIANT& newValue)
  {
  static BYTE parms[] =
    VTS_VARIANT VTS_VARIANT VTS_VARIANT;
  InvokeHelper(0xd2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
               &Item, &ColIndex, &newValue);
  }

void CItems::AddLink(const VARIANT& LinkKey, long StartItem, const VARIANT& StartBarKey, long EndItem, const VARIANT& EndBarKey)
  {
  static BYTE parms[] =
    VTS_VARIANT VTS_I4 VTS_VARIANT VTS_I4 VTS_VARIANT;
  InvokeHelper(0xd3, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
               &LinkKey, StartItem, &StartBarKey, EndItem, &EndBarKey);
  }

void CItems::RemoveLink(const VARIANT& LinkKey)
  {
  static BYTE parms[] =
    VTS_VARIANT;
  InvokeHelper(0xd4, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
               &LinkKey);
  }

void CItems::ClearLinks()
  {
  InvokeHelper(0xd5, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
  }

VARIANT CItems::GetLink(const VARIANT& LinkKey, long Property_)
  {
  VARIANT result;
  static BYTE parms[] =
    VTS_VARIANT VTS_I4;
  InvokeHelper(0xd6, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, parms,
               &LinkKey, Property_);
  return result;
  }

void CItems::SetLink(const VARIANT& LinkKey, long Property_, const VARIANT& newValue)
  {
  static BYTE parms[] =
    VTS_VARIANT VTS_I4 VTS_VARIANT;
  InvokeHelper(0xd6, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
               &LinkKey, Property_, &newValue);
  }

BOOL CItems::GetItemFiltered(long Item)
  {
  BOOL result;
  static BYTE parms[] =
    VTS_I4;
  InvokeHelper(0xd7, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, parms,
               Item);
  return result;
  }

VARIANT CItems::GetFirstItemBar(long Item)
  {
  VARIANT result;
  static BYTE parms[] =
    VTS_I4;
  InvokeHelper(0xd8, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, parms,
               Item);
  return result;
  }

VARIANT CItems::GetNextItemBar(long Item, const VARIANT& Key)
  {
  VARIANT result;
  static BYTE parms[] =
    VTS_I4 VTS_VARIANT;
  InvokeHelper(0xd9, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, parms,
               Item, &Key);
  return result;
  }

VARIANT CItems::GetFirstLink()
  {
  VARIANT result;
  InvokeHelper(0xda, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
  return result;
  }

VARIANT CItems::GetNextLink(const VARIANT& LinkKey)
  {
  VARIANT result;
  static BYTE parms[] =
    VTS_VARIANT;
  InvokeHelper(0xdb, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, parms,
               &LinkKey);
  return result;
  }

void CItems::SelectAll()
  {
  InvokeHelper(0xdc, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
  }

void CItems::UnselectAll()
  {
  InvokeHelper(0xdd, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
  }

void CItems::SetCellPictureWidth(const VARIANT& Item, const VARIANT& ColIndex, long nNewValue)
  {
  static BYTE parms[] =
    VTS_VARIANT VTS_VARIANT VTS_I4;
  InvokeHelper(0xde, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
               &Item, &ColIndex, nNewValue);
  }

long CItems::GetCellPictureWidth(const VARIANT& Item, const VARIANT& ColIndex)
  {
  long result;
  static BYTE parms[] =
    VTS_VARIANT VTS_VARIANT;
  InvokeHelper(0xde, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
               &Item, &ColIndex);
  return result;
  }

void CItems::SetCellPictureHeight(const VARIANT& Item, const VARIANT& ColIndex, long nNewValue)
  {
  static BYTE parms[] =
    VTS_VARIANT VTS_VARIANT VTS_I4;
  InvokeHelper(0xdf, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
               &Item, &ColIndex, nNewValue);
  }

long CItems::GetCellPictureHeight(const VARIANT& Item, const VARIANT& ColIndex)
  {
  long result;
  static BYTE parms[] =
    VTS_VARIANT VTS_VARIANT;
  InvokeHelper(0xdf, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
               &Item, &ColIndex);
  return result;
  }

void CItems::GroupBars(long ItemA, const VARIANT& KeyA, BOOL StartA, long ItemB, const VARIANT& KeyB, BOOL StartB)
  {
  static BYTE parms[] =
    VTS_I4 VTS_VARIANT VTS_BOOL VTS_I4 VTS_VARIANT VTS_BOOL;
  InvokeHelper(0xe0, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
               ItemA, &KeyA, StartA, ItemB, &KeyB, StartB);
  }

void CItems::UngroupBars(long ItemA, const VARIANT& KeyA, long ItemB, const VARIANT& KeyB)
  {
  static BYTE parms[] =
    VTS_I4 VTS_VARIANT VTS_I4 VTS_VARIANT;
  InvokeHelper(0xe1, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
               ItemA, &KeyA, ItemB, &KeyB);
  }

void CItems::DefineSummaryBars (long SummaryItem, const VARIANT &SummaryKey, long ItemAdd, const VARIANT &KeyAdd)
  {
  static BYTE parms[] = VTS_I4 VTS_VARIANT VTS_I4 VTS_VARIANT;
  InvokeHelper (0xe3, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
                SummaryItem, &SummaryKey, ItemAdd, &KeyAdd);
  }

void CItems::UndefineSummaryBars (long SummaryItem, const VARIANT &SummaryKey, long ItemRemove, const VARIANT &KeyRemove)
  {
  static BYTE parms[] = VTS_I4 VTS_VARIANT VTS_I4 VTS_VARIANT;
  InvokeHelper (0xe4, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
                SummaryItem, &SummaryKey, ItemRemove, &KeyRemove);
  }

VARIANT CItems::GetSelectedObjects(long Objects)
  {
  VARIANT result;
  static BYTE parms[] =
    VTS_I4;
  InvokeHelper(0xe2, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, parms,
               Objects);
  return result;
  }
