#if !defined(AFX_G2ANTT_H__3B3051B3_1A34_4FB2_9EC2_C98913FADE8B__INCLUDED_)
#define AFX_G2ANTT_H__3B3051B3_1A34_4FB2_9EC2_C98913FADE8B__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 CColumns;
class CItems;
class COleFont;
class CPicture;
class CChart;
class CAppearance;
class CConditionalFormats;

/////////////////////////////////////////////////////////////////////////////
// CG2antt wrapper class

class CG2antt : public CWnd
{
protected:
	DECLARE_DYNCREATE(CG2antt)
public:
	CLSID const& GetClsid()
	{
		static CLSID const clsid
			= { 0xcd481f4d, 0x2d25, 0x4759, { 0x80, 0x3f, 0x75, 0x2c, 0x56, 0x8f, 0x53, 0xb7 } };
		return clsid;
	}
	virtual BOOL Create(LPCTSTR lpszClassName,
		LPCTSTR lpszWindowName, DWORD dwStyle,
		const RECT& rect,
		CWnd* pParentWnd, UINT nID,
		CCreateContext* pContext = NULL)
	{ return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }

    BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
		const RECT& rect, CWnd* pParentWnd, UINT nID,
		CFile* pPersist = NULL, BOOL bStorage = FALSE,
		BSTR bstrLicKey = NULL)
	{ return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
		pPersist, bStorage, bstrLicKey); }

// Attributes
public:

// Operations
public:
	void PutItems(VARIANT* Items, const VARIANT& Index);
	BOOL GetColumnAutoResize();
	void SetColumnAutoResize(BOOL bNewValue);
	BOOL GetMarkSearchColumn();
	void SetMarkSearchColumn(BOOL bNewValue);
	long GetDrawGridLines();
	void SetDrawGridLines(long nNewValue);
	unsigned long GetBackColor();
	void SetBackColor(unsigned long newValue);
	unsigned long GetForeColor();
	void SetForeColor(unsigned long newValue);
	unsigned long GetBackColorLock();
	void SetBackColorLock(unsigned long newValue);
	unsigned long GetForeColorLock();
	void SetForeColorLock(unsigned long newValue);
	BOOL GetHeaderVisible();
	void SetHeaderVisible(BOOL bNewValue);
	long GetHWnd();
	long GetCountLockedColumns();
	void SetCountLockedColumns(long nNewValue);
	long GetHeaderAppearance();
	void SetHeaderAppearance(long nNewValue);
	void BeginUpdate();
	void EndUpdate();
	CColumns GetColumns();
	CItems GetItems();
	long GetDefaultItemHeight();
	void SetDefaultItemHeight(long nNewValue);
	void Images(const VARIANT& Handle);
	long GetFullRowSelect();
	void SetFullRowSelect(long nNewValue);
	long GetSearchColumnIndex();
	void SetSearchColumnIndex(long nNewValue);
	BOOL GetSingleSel();
	void SetSingleSel(BOOL bNewValue);
	void Refresh();
	BOOL GetContinueColumnScroll();
	void SetContinueColumnScroll(BOOL bNewValue);
	long GetSelectColumnIndex();
	void SetSelectColumnIndex(long nNewValue);
	BOOL GetRClickSelect();
	void SetRClickSelect(BOOL bNewValue);
	long GetSortOnClick();
	void SetSortOnClick(long nNewValue);
	long GetHasButtons();
	void SetHasButtons(long nNewValue);
	long GetHasLines();
	void SetHasLines(long nNewValue);
	long GetLinesAtRoot();
	void SetLinesAtRoot(long nNewValue);
	long GetIndent();
	void SetIndent(long nNewValue);
	long GetTreeColumnIndex();
	void SetTreeColumnIndex(long nNewValue);
	BOOL GetScrollBySingleLine();
	void SetScrollBySingleLine(BOOL bNewValue);
	long GetItemFromPoint(long X, long Y, long* ColIndex, long* HitTestInfo);
	void SetFont(LPDISPATCH newValue);
	COleFont GetFont();
	void SetRefFont(LPDISPATCH newValue);
	BOOL GetShowFocusRect();
	void SetShowFocusRect(BOOL bNewValue);
	long GetCheckImage(long State);
	void SetCheckImage(long State, long nNewValue);
	long GetRadioImage(BOOL Checked);
	void SetRadioImage(BOOL Checked, long nNewValue);
	unsigned long GetSelForeColor();
	void SetSelForeColor(unsigned long newValue);
	unsigned long GetSelBackColor();
	void SetSelBackColor(unsigned long newValue);
	long GetOLEDropMode();
	void SetOLEDropMode(long nNewValue);
	void OLEDrag();
	LPDISPATCH GetDataSource();
	void SetDataSource(LPDISPATCH newValue);
	void SetRefDataSource(LPDISPATCH newValue);
	long ReplaceIcon(const VARIANT& Icon, const VARIANT& Index);
	void SetAppearance(long nNewValue);
	long GetAppearance();
	BOOL GetShowImageList();
	void SetShowImageList(BOOL bNewValue);
	BOOL GetSelectColumn();
	void SetSelectColumn(BOOL bNewValue);
	BOOL GetUseTabKey();
	void SetUseTabKey(BOOL bNewValue);
	void SetRefPicture(LPDISPATCH newValue);
	void SetPicture(LPDISPATCH newValue);
	CPicture GetPicture();
	long GetPictureDisplay();
	void SetPictureDisplay(long nNewValue);
	long GetSelBackMode();
	void SetSelBackMode(long nNewValue);
	unsigned long GetHyperLinkColor();
	void SetHyperLinkColor(unsigned long newValue);
	CString GetVersion();
	void SetVersion(LPCTSTR lpszNewValue);
	unsigned long GetBackColorHeader();
	void SetBackColorHeader(unsigned long newValue);
	unsigned long GetForeColorHeader();
	void SetForeColorHeader(unsigned long newValue);
	void ClearFilter();
	long GetFilterBarHeight();
	void SetFilterBarHeight(long nNewValue);
	unsigned long GetFilterBarForeColor();
	void SetFilterBarForeColor(unsigned long newValue);
	unsigned long GetFilterBarBackColor();
	void SetFilterBarBackColor(unsigned long newValue);
	void SetFilterBarFont(LPDISPATCH newValue);
	COleFont GetFilterBarFont();
	void SetRefFilterBarFont(LPDISPATCH newValue);
	void ApplyFilter();
	double GetFilterBarDropDownHeight();
	void SetFilterBarDropDownHeight(double newValue);
	unsigned long GetBackColorAlternate();
	void SetBackColorAlternate(unsigned long newValue);
	BOOL GetDetectAddNew();
	void SetDetectAddNew(BOOL bNewValue);
	CString GetDescription(long Type);
	void SetDescription(long Type, LPCTSTR lpszNewValue);
	CString GetTemplate();
	void SetTemplate(LPCTSTR lpszNewValue);
	BOOL GetAutoSearch();
	void SetAutoSearch(BOOL bNewValue);
	long GetHeaderHeight();
	void SetHeaderHeight(long nNewValue);
	BOOL GetEnabled();
	void SetEnabled(BOOL bNewValue);
	CString GetASCIILower();
	void SetASCIILower(LPCTSTR lpszNewValue);
	CString GetASCIIUpper();
	void SetASCIIUpper(LPCTSTR lpszNewValue);
	BOOL GetExpandOnDblClick();
	void SetExpandOnDblClick(BOOL bNewValue);
	long GetColumnFromPoint(long X, long Y);
	CString GetFilterBarCaption();
	void SetFilterBarCaption(LPCTSTR lpszNewValue);
	long GetToolTipDelay();
	void SetToolTipDelay(long nNewValue);
	long GetToolTipPopDelay();
	void SetToolTipPopDelay(long nNewValue);
	long GetToolTipWidth();
	void SetToolTipWidth(long nNewValue);
	long GetScrollBars();
	void SetScrollBars(long nNewValue);
	unsigned long GetGridLineColor();
	void SetGridLineColor(unsigned long newValue);
	void EnsureVisibleColumn(const VARIANT& Column);
	BOOL GetHideSelection();
	void SetHideSelection(BOOL bNewValue);
	VARIANT GetItems(const VARIANT& Options);
	void Scroll(long Type, const VARIANT& ScrollTo);
	BOOL GetExpandOnSearch();
	void SetExpandOnSearch(BOOL bNewValue);
	long GetHasButtonsCustom(BOOL Expanded);
	void SetHasButtonsCustom(BOOL Expanded, long nNewValue);
	BOOL GetExpandOnKeys();
	void SetExpandOnKeys(BOOL bNewValue);
	long GetScrollPos(BOOL Vertical);
	void SetScrollPos(BOOL Vertical, long nNewValue);
	unsigned long GetBackColorLevelHeader();
	void SetBackColorLevelHeader(unsigned long newValue);
	void SetRefPictureLevelHeader(LPDISPATCH newValue);
	void SetPictureLevelHeader(LPDISPATCH newValue);
	CPicture GetPictureLevelHeader();
	long GetPictureDisplayLevelHeader();
	void SetPictureDisplayLevelHeader(long nNewValue);
	BOOL GetShowLockedItems();
	void SetShowLockedItems(BOOL bNewValue);
	long GetSelectColumnInner();
	void SetSelectColumnInner(long nNewValue);
	BOOL GetSortBarVisible();
	void SetSortBarVisible(BOOL bNewValue);
	CString GetSortBarCaption();
	void SetSortBarCaption(LPCTSTR lpszNewValue);
	unsigned long GetBackColorSortBar();
	void SetBackColorSortBar(unsigned long newValue);
	unsigned long GetForeColorSortBar();
	void SetForeColorSortBar(unsigned long newValue);
	unsigned long GetBackColorSortBarCaption();
	void SetBackColorSortBarCaption(unsigned long newValue);
	long GetSortBarHeight();
	void SetSortBarHeight(long nNewValue);
	long GetSortBarColumnWidth();
	void SetSortBarColumnWidth(long nNewValue);
	BOOL GetSingleSort();
	void SetSingleSort(BOOL bNewValue);
	CChart GetChart();
	CAppearance GetVisualAppearance();
	unsigned long GetBackground(long Part);
	void SetBackground(long Part, unsigned long newValue);
	long GetItemsAllowSizing();
	void SetItemsAllowSizing(long nNewValue);
	long GetReadOnly();
	void SetReadOnly(long nNewValue);
	long GetFocusColumnIndex();
	void SetFocusColumnIndex(long nNewValue);
	void Edit(const VARIANT& Options);
	BOOL GetAutoEdit();
	void SetAutoEdit(BOOL bNewValue);
	long GetEditing();
	BOOL GetCauseValidateValue();
	void SetCauseValidateValue(BOOL bNewValue);
	void EditClose();
	BOOL GetDetectDelete();
	void SetDetectDelete(BOOL bNewValue);
	BOOL GetMarkTooltipCells();
	void SetMarkTooltipCells(BOOL bNewValue);
	unsigned long GetTooltipCellsColor();
	void SetTooltipCellsColor(unsigned long newValue);
	long GetMarkTooltipCellsImage();
	void SetMarkTooltipCellsImage(long nNewValue);
	VARIANT GetDefaultEditorOption(long Name);
	void SetDefaultEditorOption(long Name, const VARIANT& newValue);
	BOOL GetSelectByDrag();
	void SetSelectByDrag(BOOL bNewValue);
	BOOL GetColumnsAllowSizing();
	void SetColumnsAllowSizing(BOOL bNewValue);
	long GetFilterInclude();
	void SetFilterInclude(long nNewValue);
	CString GetFilterCriteria();
	void SetFilterCriteria(LPCTSTR lpszNewValue);
	CConditionalFormats GetConditionalFormats();
	void Copy();
	VARIANT GetHTMLPicture(LPCTSTR Key);
	void SetHTMLPicture(LPCTSTR Key, const VARIANT& newValue);
	VARIANT ExecuteTemplate(LPCTSTR Template);
	BOOL GetScrollPartVisible(long ScrollBar, long Part);
	void SetScrollPartVisible(long ScrollBar, long Part, BOOL bNewValue);
	BOOL GetScrollPartEnable(long ScrollBar, long Part);
	void SetScrollPartEnable(long ScrollBar, long Part, BOOL bNewValue);
	CString GetScrollPartCaption(long ScrollBar, long Part);
	void SetScrollPartCaption(long ScrollBar, long Part, LPCTSTR lpszNewValue);
	CString GetScrollToolTip(long ScrollBar);
	void SetScrollToolTip(long ScrollBar, LPCTSTR lpszNewValue);
	void SetScrollFont(long ScrollBar, LPDISPATCH newValue);
	COleFont GetScrollFont(long ScrollBar);
	void SetRefScrollFont(long ScrollBar, LPDISPATCH newValue);
	long GetScrollButtonWidth();
	void SetScrollButtonWidth(long nNewValue);
	long GetScrollButtonHeight();
	void SetScrollButtonHeight(long nNewValue);
	long GetScrollWidth();
	void SetScrollWidth(long nNewValue);
	long GetScrollHeight();
	void SetScrollHeight(long nNewValue);
	long GetScrollThumbSize(long ScrollBar);
	void SetScrollThumbSize(long ScrollBar, long nNewValue);
	BOOL LoadXML(const VARIANT& Source);
	BOOL SaveXML(VARIANT* Destination);
	CString GetScrollOrderParts(long ScrollBar);
	void SetScrollOrderParts(long ScrollBar, LPCTSTR lpszNewValue);
	BOOL GetAllowChartScrollPage();
	void SetAllowChartScrollPage(BOOL bNewValue);
	void SetToolTipFont(LPDISPATCH newValue);
	COleFont GetToolTipFont();
	void SetRefToolTipFont(LPDISPATCH newValue);
	CString GetFormatAnchor(BOOL New);
	void SetFormatAnchor(BOOL New, LPCTSTR lpszNewValue);
	CString GetAnchorFromPoint(long X, long Y);
	void ShowToolTip(LPCTSTR ToolTip, const VARIANT& Title, const VARIANT& Alignment, const VARIANT& X, const VARIANT& Y);
	long GetScrollPartCaptionAlignment(long ScrollBar, long Part);
	void SetScrollPartCaptionAlignment(long ScrollBar, long Part, long nNewValue);
};

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

#endif // !defined(AFX_G2ANTT_H__3B3051B3_1A34_4FB2_9EC2_C98913FADE8B__INCLUDED_)
