#if !defined(AFX_ITEMS_H__5F88FEAE_4897_4D00_A7F4_7990FB42E1A4__INCLUDED_)
#define AFX_ITEMS_H__5F88FEAE_4897_4D00_A7F4_7990FB42E1A4__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// 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.


// Dispatch interfaces referenced by this interface
class COleFont;
class CEditor;

/////////////////////////////////////////////////////////////////////////////
// CItems wrapper class

class CItems : public COleDispatchDriver
  {
  public:
    CItems() {}		// Calls COleDispatchDriver default constructor
    CItems(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
    CItems(const CItems& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}

    // Attributes
  public:

    // Operations
  public:
    long AddItem(const VARIANT& Caption);
    long InsertItem(long Parent, const VARIANT& UserData, const VARIANT& Value);
    void RemoveItem(long Item);
    void RemoveAllItems();
    void EnsureVisibleItem(long Item);
    void SortChildren(long Item, const VARIANT& ColIndex, BOOL Ascending);
    void SetParent(long Item, long NewParent);
    long InsertControlItem(long Parent, LPCTSTR ControlID, const VARIANT& License);
    void ClearCellBackColor(const VARIANT& Item, const VARIANT& ColIndex);
    void ClearCellForeColor(const VARIANT& Item, const VARIANT& ColIndex);
    void ClearItemBackColor(long Item);
    void ClearItemForeColor(long Item);
    long GetItemCount();
    VARIANT GetItemData(long Item);
    void SetItemData(long Item, const VARIANT& newValue);
    BOOL GetExpandItem(long Item);
    void SetExpandItem(long Item, BOOL bNewValue);
    unsigned long GetItemBackColor(long Item);
    void SetItemBackColor(long Item, unsigned long newValue);
    unsigned long GetItemForeColor(long Item);
    void SetItemForeColor(long Item, unsigned long newValue);
    BOOL GetItemBold(long Item);
    void SetItemBold(long Item, BOOL bNewValue);
    BOOL GetItemItalic(long Item);
    void SetItemItalic(long Item, BOOL bNewValue);
    BOOL GetItemUnderline(long Item);
    void SetItemUnderline(long Item, BOOL bNewValue);
    BOOL GetItemStrikeOut(long Item);
    void SetItemStrikeOut(long Item, BOOL bNewValue);
    BOOL GetEnableItem(long Item);
    void SetEnableItem(long Item, BOOL bNewValue);
    long GetItemHeight(long Item);
    void SetItemHeight(long Item, long nNewValue);
    long GetRootCount();
    long GetRootItem(long Position);
    long GetItemChild(long Item);
    long GetItemParent(long Item);
    long GetNextSiblingItem(long Item);
    long GetPrevSiblingItem(long Item);
    long GetChildCount(long Item);
    long GetFirstVisibleItem();
    long GetNextVisibleItem(long Item);
    long GetPrevVisibleItem(long Item);
    BOOL GetIsItemVisible(long Item);
    long GetFocusItem();
    long GetItemCell(long Item, const VARIANT& ColIndex);
    CString GetCellCaption(const VARIANT& Item, const VARIANT& ColIndex);
    unsigned long GetCellBackColor(const VARIANT& Item, const VARIANT& ColIndex);
    void SetCellBackColor(const VARIANT& Item, const VARIANT& ColIndex, unsigned long newValue);
    unsigned long GetCellForeColor(const VARIANT& Item, const VARIANT& ColIndex);
    void SetCellForeColor(const VARIANT& Item, const VARIANT& ColIndex, unsigned long newValue);
    BOOL GetCellBold(const VARIANT& Item, const VARIANT& ColIndex);
    void SetCellBold(const VARIANT& Item, const VARIANT& ColIndex, BOOL bNewValue);
    BOOL GetCellItalic(const VARIANT& Item, const VARIANT& ColIndex);
    void SetCellItalic(const VARIANT& Item, const VARIANT& ColIndex, BOOL bNewValue);
    BOOL GetCellUnderline(const VARIANT& Item, const VARIANT& ColIndex);
    void SetCellUnderline(const VARIANT& Item, const VARIANT& ColIndex, BOOL bNewValue);
    BOOL GetCellStrikeOut(const VARIANT& Item, const VARIANT& ColIndex);
    void SetCellStrikeOut(const VARIANT& Item, const VARIANT& ColIndex, BOOL bNewValue);
    BOOL GetCellEnabled(const VARIANT& Item, const VARIANT& ColIndex);
    void SetCellEnabled(const VARIANT& Item, const VARIANT& ColIndex, BOOL bNewValue);
    VARIANT GetCellData(const VARIANT& Item, const VARIANT& ColIndex);
    void SetCellData(const VARIANT& Item, const VARIANT& ColIndex, const VARIANT& newValue);
    CString GetCellToolTip(const VARIANT& Item, const VARIANT& ColIndex);
    void SetCellToolTip(const VARIANT& Item, const VARIANT& ColIndex, LPCTSTR lpszNewValue);
    BOOL GetCellSingleLine(const VARIANT& Item, const VARIANT& ColIndex);
    void SetCellSingleLine(const VARIANT& Item, const VARIANT& ColIndex, BOOL bNewValue);
    BOOL GetCellHasCheckBox(const VARIANT& Item, const VARIANT& ColIndex);
    void SetCellHasCheckBox(const VARIANT& Item, const VARIANT& ColIndex, BOOL bNewValue);
    BOOL GetCellHasRadioButton(const VARIANT& Item, const VARIANT& ColIndex);
    void SetCellHasRadioButton(const VARIANT& Item, const VARIANT& ColIndex, BOOL bNewValue);
    BOOL GetCellHasButton(const VARIANT& Item, const VARIANT& ColIndex);
    void SetCellHasButton(const VARIANT& Item, const VARIANT& ColIndex, BOOL bNewValue);
    long GetCellRadioGroup(const VARIANT& Item, const VARIANT& ColIndex);
    void SetCellRadioGroup(const VARIANT& Item, const VARIANT& ColIndex, long nNewValue);
    long GetCellState(const VARIANT& Item, const VARIANT& ColIndex);
    void SetCellState(const VARIANT& Item, const VARIANT& ColIndex, long nNewValue);
    long GetCellItem(long Cell);
    void SetCellImage(const VARIANT& Item, const VARIANT& ColIndex, long nNewValue);
    long GetCellImage(const VARIANT& Item, const VARIANT& ColIndex);
    BOOL GetSelectItem(long Item);
    void SetSelectItem(long Item, BOOL bNewValue);
    long GetSelectCount();
    long GetSelectedItem(long Index);
    void SetItemHasChildren(long Item, BOOL bNewValue);
    BOOL GetItemHasChildren(long Item);
    long GetVisibleCount();
    long GetCellChecked(long RadioGroup);
    long GetLastVisibleItem(const VARIANT& Partially);
    BOOL GetAcceptSetParent(long Item, long NewParent);
    long GetFindItem(const VARIANT& Value, const VARIANT& ColIndex, const VARIANT& StartIndex);
    LPDISPATCH GetItemObject(long Item);
    long GetItemAppearance(long Item);
    void SetItemAppearance(long Item, long nNewValue);
    long GetItemWindowHost(long Item);
    long GetItemWindowHostCreateStyle(long Item);
    void SetItemWindowHostCreateStyle(long Item, long nNewValue);
    CString GetItemControlID(long Item);
    long GetItemByIndex(long Index);
    CString GetFullPath(long Item);
    CString GetPathSeparator();
    void SetPathSeparator(LPCTSTR lpszNewValue);
    long GetFindPath(LPCTSTR Path);
    long GetItemToIndex(long Item);
    void SetCellPicture(const VARIANT& Item, const VARIANT& ColIndex, const VARIANT& newValue);
    VARIANT GetCellPicture(const VARIANT& Item, const VARIANT& ColIndex);
    void SetDefaultItem(long nNewValue);
    long GetDefaultItem();
    long GetItemPosition(long Item);
    void SetItemPosition(long Item, long nNewValue);
    BOOL GetCellButtonAutoWidth(const VARIANT& Item, const VARIANT& ColIndex);
    void SetCellButtonAutoWidth(const VARIANT& Item, const VARIANT& ColIndex, BOOL bNewValue);
    long GetItemWidth(long Item);
    void SetItemWidth(long Item, long nNewValue);
    long GetFindItemData(const VARIANT& UserData, const VARIANT& StartIndex);
    void SetCellHyperLink(const VARIANT& Item, const VARIANT& ColIndex, BOOL bNewValue);
    BOOL GetCellHyperLink(const VARIANT& Item, const VARIANT& ColIndex);
    void SetCellVAlignment(const VARIANT& Item, const VARIANT& ColIndex, long nNewValue);
    long GetCellVAlignment(const VARIANT& Item, const VARIANT& ColIndex);
    void SetItemFont(long Item, LPDISPATCH newValue);
    COleFont GetItemFont(long Item);
    void SetRefItemFont(long Item, LPDISPATCH newValue);
    void SetCellFont(const VARIANT& Item, const VARIANT& ColIndex, LPDISPATCH newValue);
    COleFont GetCellFont(const VARIANT& Item, const VARIANT& ColIndex);
    void SetRefCellFont(const VARIANT& Item, const VARIANT& ColIndex, LPDISPATCH newValue);
    long GetCellValueFormat(const VARIANT& Item, const VARIANT& ColIndex);
    void SetCellValueFormat(const VARIANT& Item, const VARIANT& ColIndex, long nNewValue);
    void SetCellImages(const VARIANT& Item, const VARIANT& ColIndex, const VARIANT& newValue);
    VARIANT GetCellImages(const VARIANT& Item, const VARIANT& ColIndex);
    void SetCellHAlignment(const VARIANT& Item, const VARIANT& ColIndex, long nNewValue);
    long GetCellHAlignment(const VARIANT& Item, const VARIANT& ColIndex);
    void ClearCellHAlignment(const VARIANT& Item, const VARIANT& ColIndex);
    long GetItemMaxHeight(long Item);
    void SetItemMaxHeight(long Item, long nNewValue);
    long GetLockedItemCount(long Alignment);
    void SetLockedItemCount(long Alignment, long nNewValue);
    long GetLockedItem(long Alignment, long Index);
    BOOL GetIsItemLocked(long Item);
    long GetItemDivider(long Item);
    void SetItemDivider(long Item, long nNewValue);
    long GetItemDividerLine(long Item);
    void SetItemDividerLine(long Item, long nNewValue);
    long GetItemDividerLineAlignment(long Item);
    void SetItemDividerLineAlignment(long Item, long nNewValue);
    void MergeCells(const VARIANT& Cell1, const VARIANT& Cell2, const VARIANT& Options);
    void UnmergeCells(const VARIANT& Cell);
    VARIANT GetCellMerge(const VARIANT& Item, const VARIANT& ColIndex);
    void SetCellMerge(const VARIANT& Item, const VARIANT& ColIndex, const VARIANT& newValue);
    VARIANT GetSelectPos();
    void SetSelectPos(const VARIANT& newValue);
    VARIANT GetSplitCell(const VARIANT& Item, const VARIANT& ColIndex);
    void UnsplitCell(const VARIANT& Item, const VARIANT& ColIndex);
    long GetCellWidth(const VARIANT& Item, const VARIANT& ColIndex);
    void SetCellWidth(const VARIANT& Item, const VARIANT& ColIndex, long nNewValue);
    VARIANT GetCellParent(const VARIANT& Item, const VARIANT& ColIndex);
    VARIANT GetInnerCell(const VARIANT& Item, const VARIANT& ColIndex, const VARIANT& Index);
    BOOL GetSelectableItem(long Item);
    void SetSelectableItem(long Item, BOOL bNewValue);
    BOOL GetItemAllowSizing(long Item);
    void SetItemAllowSizing(long Item, BOOL bNewValue);
    void AddBar(long Item, const VARIANT& BarName, const VARIANT& DateStart, const VARIANT& DateEnd, const VARIANT& Key, const VARIANT& Text);
    void RemoveBar(long Item, const VARIANT& Key);
    void ClearBars(long Item);
    VARIANT GetItemBar(long Item, const VARIANT& Key, long Property_);
    void SetItemBar(long Item, const VARIANT& Key, long Property_, const VARIANT& newValue);
    BOOL GetCellEditorVisible(const VARIANT& Item, const VARIANT& ColIndex);
    void SetCellEditorVisible(const VARIANT& Item, const VARIANT& ColIndex, BOOL bNewValue);
    CEditor GetCellEditor(const VARIANT& Item, const VARIANT& ColIndex);
    void DeleteCellEditor(const VARIANT& Item, const VARIANT& ColIndex);
    BOOL GetHasCellEditor(const VARIANT& Item, const VARIANT& ColIndex);
    VARIANT GetCellValue(const VARIANT& Item, const VARIANT& ColIndex);
    void SetCellValue(const VARIANT& Item, const VARIANT& ColIndex, const VARIANT& newValue);
    void AddLink(const VARIANT& LinkKey, long StartItem, const VARIANT& StartBarKey, long EndItem, const VARIANT& EndBarKey);
    void RemoveLink(const VARIANT& LinkKey);
    void ClearLinks();
    VARIANT GetLink(const VARIANT& LinkKey, long Property_);
    void SetLink(const VARIANT& LinkKey, long Property_, const VARIANT& newValue);
    BOOL GetItemFiltered(long Item);
    VARIANT GetFirstItemBar(long Item);
    VARIANT GetNextItemBar(long Item, const VARIANT& Key);
    VARIANT GetFirstLink();
    VARIANT GetNextLink(const VARIANT& LinkKey);
    void SelectAll();
    void UnselectAll();
    void SetCellPictureWidth(const VARIANT& Item, const VARIANT& ColIndex, long nNewValue);
    long GetCellPictureWidth(const VARIANT& Item, const VARIANT& ColIndex);
    void SetCellPictureHeight(const VARIANT& Item, const VARIANT& ColIndex, long nNewValue);
    long GetCellPictureHeight(const VARIANT& Item, const VARIANT& ColIndex);
    void GroupBars(long ItemA, const VARIANT& KeyA, BOOL StartA, long ItemB, const VARIANT& KeyB, BOOL StartB);
    void UngroupBars(long ItemA, const VARIANT& KeyA, long ItemB, const VARIANT& KeyB);
    void DefineSummaryBars (long SummaryItem, const VARIANT &SummaryKey, long ItemAdd, const VARIANT &KeyAdd);
    void UndefineSummaryBars (long SummaryItem, const VARIANT &SummaryKey, long ItemRemove, const VARIANT &KeyRemove);
    VARIANT GetSelectedObjects(long Objects);
  };

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_ITEMS_H__5F88FEAE_4897_4D00_A7F4_7990FB42E1A4__INCLUDED_)
