home *** CD-ROM | disk | FTP | other *** search
- #ifndef __GTLIST_H__
- #define __GTLIST_H__
-
- // 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 CPicture;
- class COleFont;
-
- /////////////////////////////////////////////////////////////////////////////
- // CGTList1 wrapper class
-
- class CGTList1 : public CWnd
- {
- protected:
- DECLARE_DYNCREATE(CGTList1)
- public:
- CLSID const& GetClsid()
- {
- static CLSID const clsid
- = { 0x98460700, 0x9149, 0x11cf, { 0xba, 0xdb, 0x0, 0x20, 0x18, 0x2, 0xbb, 0x87 } };
- 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:
- OLE_COLOR GetBackColor();
- void SetBackColor(OLE_COLOR);
- BOOL GetEnabled();
- void SetEnabled(BOOL);
- OLE_HANDLE GetHWnd();
- void SetHWnd(OLE_HANDLE);
- long GetMultiSelect();
- void SetMultiSelect(long);
- CPicture GetPicture();
- void SetPicture(LPDISPATCH);
- long GetPictureAlignment();
- void SetPictureAlignment(long);
- LPDISPATCH GetSelectedItem();
- void SetSelectedItem(LPDISPATCH);
- BOOL GetSorted();
- void SetSorted(BOOL);
- short GetSortKey();
- void SetSortKey(short);
- long GetSortOrder();
- void SetSortOrder(long);
- VARIANT GetTagVariant();
- void SetTagVariant(const VARIANT&);
- BOOL GetAllowColumnDragDrop();
- void SetAllowColumnDragDrop(BOOL);
- BOOL GetAllowColumnResize();
- void SetAllowColumnResize(BOOL);
- CString GetImageList();
- void SetImageList(LPCTSTR);
- long GetListCount();
- void SetListCount(long);
- long GetNewIndex();
- void SetNewIndex(long);
- unsigned long GetScrollTipBackColor();
- void SetScrollTipBackColor(unsigned long);
- CString GetScrollTipDataField();
- void SetScrollTipDataField(LPCTSTR);
- COleFont GetScrollTipFont();
- void SetScrollTipFont(LPDISPATCH);
- unsigned long GetScrollTipForeColor();
- void SetScrollTipForeColor(unsigned long);
- long GetSelCount();
- void SetSelCount(long);
- CString GetText();
- void SetText(LPCTSTR);
- unsigned long GetExtendTipBackColor();
- void SetExtendTipBackColor(unsigned long);
- CString GetExtendTipDataField();
- void SetExtendTipDataField(LPCTSTR);
- long GetExtendTipDelay();
- void SetExtendTipDelay(long);
- COleFont GetExtendTipFont();
- void SetExtendTipFont(LPDISPATCH);
- unsigned long GetExtendTipForeColor();
- void SetExtendTipForeColor(unsigned long);
- long GetExtendTipTimeout();
- void SetExtendTipTimeout(long);
- long GetTopIndex();
- void SetTopIndex(long);
- long GetVertScrollBar();
- void SetVertScrollBar(long);
- unsigned long GetDefColCaptionBackColor();
- void SetDefColCaptionBackColor(unsigned long);
- long GetDefColCaptionFont3D();
- void SetDefColCaptionFont3D(long);
- COleFont GetDefColCaptionFont();
- void SetDefColCaptionFont(LPDISPATCH);
- long GetDefColCaptionPictureAlignment();
- void SetDefColCaptionPictureAlignment(long);
- unsigned long GetDefColCaptionForeColor();
- void SetDefColCaptionForeColor(unsigned long);
- float GetDefColumnWidth();
- void SetDefColumnWidth(float);
- long GetDefColCaptionBorderStyle();
- void SetDefColCaptionBorderStyle(long);
- float GetDefRowHeight();
- void SetDefRowHeight(float);
- float GetColumnHeaderHeight();
- void SetColumnHeaderHeight(float);
- unsigned long GetDefBackColor();
- void SetDefBackColor(unsigned long);
- COleFont GetDefFont();
- void SetDefFont(LPDISPATCH);
- long GetDefFont3D();
- void SetDefFont3D(long);
- unsigned long GetDefForeColor();
- void SetDefForeColor(unsigned long);
- long GetDefPictureAlignment();
- void SetDefPictureAlignment(long);
- long GetDefTextAlignment();
- void SetDefTextAlignment(long);
- LPUNKNOWN GetDataSource();
- void SetDataSource(LPUNKNOWN);
- long GetAppearance();
- void SetAppearance(long);
- BOOL GetCalcRowCountOnLoad();
- void SetCalcRowCountOnLoad(BOOL);
- unsigned long GetGridLineColor();
- void SetGridLineColor(unsigned long);
- long GetGridLineType();
- void SetGridLineType(long);
- long GetGridLineStyle();
- void SetGridLineStyle(long);
- long GetBorderStyle();
- void SetBorderStyle(long);
- short GetSubRows();
- void SetSubRows(short);
- unsigned long GetDefForeColorOdd();
- void SetDefForeColorOdd(unsigned long);
- unsigned long GetDefBackColorOdd();
- void SetDefBackColorOdd(unsigned long);
- CString Get_Text();
- void Set_Text(LPCTSTR);
- BOOL GetSubRowsStatic();
- void SetSubRowsStatic(BOOL);
- BOOL GetColumnResizeElastic();
- void SetColumnResizeElastic(BOOL);
- short GetSortKey2();
- void SetSortKey2(short);
- short GetSortKey3();
- void SetSortKey3(short);
- BOOL GetScrollTips();
- void SetScrollTips(BOOL);
- BOOL GetExtendTips();
- void SetExtendTips(BOOL);
- long GetDefWordWrap();
- void SetDefWordWrap(long);
- long GetDefColCaptionTextAlignment();
- void SetDefColCaptionTextAlignment(long);
- long GetDefColCaptionWordWrap();
- void SetDefColCaptionWordWrap(long);
- BOOL GetVirtual();
- void SetVirtual(BOOL);
- long GetVirtualItemCount();
- void SetVirtualItemCount(long);
- long GetSortOrder2();
- void SetSortOrder2(long);
- long GetSortOrder3();
- void SetSortOrder3(long);
- BOOL GetAllowColumnSortClick();
- void SetAllowColumnSortClick(BOOL);
- long GetListIndex();
- void SetListIndex(long);
- unsigned long GetMaskColor();
- void SetMaskColor(unsigned long);
- BOOL GetMaskColorEnabled();
- void SetMaskColorEnabled(BOOL);
- long GetDynamicCols();
- void SetDynamicCols(long);
- long GetHorzScrollBar();
- void SetHorzScrollBar(long);
- BOOL GetColumnCaptions();
- void SetColumnCaptions(BOOL);
- CPicture GetMouseIcon();
- void SetMouseIcon(LPDISPATCH);
- long GetMousePointer();
- void SetMousePointer(long);
- VARIANT GetBookmark();
- void SetBookmark(const VARIANT&);
- VARIANT GetTopBookmark();
- void SetTopBookmark(const VARIANT&);
- unsigned long GetSelectedBackColor();
- void SetSelectedBackColor(unsigned long);
- unsigned long GetSelectedForeColor();
- void SetSelectedForeColor(unsigned long);
-
- // Operations
- public:
- BOOL GetSelected(long Index);
- void SetSelected(long Index, BOOL bNewValue);
- long GetItemData(long Index);
- void SetItemData(long Index, long nNewValue);
- LPDISPATCH GetListItems(const VARIANT& Index);
- void SetListItems(const VARIANT& Index, LPDISPATCH newValue);
- LPDISPATCH GetColumnDefs(const VARIANT& Index);
- void SetColumnDefs(const VARIANT& Index, LPDISPATCH newValue);
- LPDISPATCH GetListImages(const VARIANT& Index);
- void SetListImages(const VARIANT& Index, LPDISPATCH newValue);
- void Clear();
- void Refresh();
- void RemoveItem(long Index);
- void AddItem(LPCTSTR Item, const VARIANT& Index);
- void ClearCache();
- short GetLeftColumn(const VARIANT& SubRow);
- void SetLeftColumn(const VARIANT& SubRow, short nNewValue);
- short HitTest(float x, float y);
- short HitTestItem(float x, float y, LPDISPATCH* ListItem, LPDISPATCH* SubItem);
- VARIANT GetSelBookmarks(long Index);
- void SetSelBookmarks(long Index, const VARIANT& newValue);
- long GetSelIndices(long Index);
- void SetSelIndices(long Index, long nNewValue);
- void AboutBox();
- };
-
- #endif // __GTLIST_H__
-