home *** CD-ROM | disk | FTP | other *** search
- #ifndef __PVTREEVIEW_H__
- #define __PVTREEVIEW_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 COleFont;
- class CBranch;
- class CPicture;
-
- /////////////////////////////////////////////////////////////////////////////
- // CPVTreeView wrapper class
-
- class CPVTreeView : public CWnd
- {
- protected:
- DECLARE_DYNCREATE(CPVTreeView)
- public:
- CLSID const& GetClsid()
- {
- static CLSID const clsid
- = { 0xb283e214, 0x2cb3, 0x11d0, { 0xad, 0xa6, 0x0, 0x40, 0x5, 0x20, 0x79, 0x9c } };
- 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);
- COleFont GetFont();
- void SetFont(LPDISPATCH);
- OLE_COLOR GetForeColor();
- void SetForeColor(OLE_COLOR);
- OLE_HANDLE GetHWnd();
- void SetHWnd(OLE_HANDLE);
- short GetSelectMode();
- void SetSelectMode(short);
- BOOL GetSort();
- void SetSort(BOOL);
- BOOL GetUseTabStops();
- void SetUseTabStops(BOOL);
- BOOL GetIntegralHeight();
- void SetIntegralHeight(BOOL);
- BOOL GetMultiColumn();
- void SetMultiColumn(BOOL);
- BOOL GetEnableMicroBitmaps();
- void SetEnableMicroBitmaps(BOOL);
- BOOL GetEnableBitmaps();
- void SetEnableBitmaps(BOOL);
- BOOL GetEnableLines();
- void SetEnableLines(BOOL);
- BOOL GetAutoOpen();
- void SetAutoOpen(BOOL);
- short GetHorizontalExtent();
- void SetHorizontalExtent(short);
- BOOL GetProportionalScrollBars();
- void SetProportionalScrollBars(BOOL);
- CBranch GetBranches();
- void SetBranches(LPDISPATCH);
- short GetAppearance();
- void SetAppearance(short);
- short GetBorderStyle();
- void SetBorderStyle(short);
- BOOL GetAlwaysShowSelection();
- void SetAlwaysShowSelection(BOOL);
- short GetMultiColumnStyle();
- void SetMultiColumnStyle(short);
- short GetColumnWidth();
- void SetColumnWidth(short);
- short GetNumberOfColumns();
- void SetNumberOfColumns(short);
- short GetTabPointCount();
- void SetTabPointCount(short);
- long GetCount();
- void SetCount(long);
- long GetVisibleCount();
- void SetVisibleCount(long);
- BOOL GetUseStateBitmaps();
- void SetUseStateBitmaps(BOOL);
- CPicture GetCustomDefaultPicture();
- void SetCustomDefaultPicture(LPDISPATCH);
- short GetStandardDefaultPicture();
- void SetStandardDefaultPicture(short);
- short GetIndent();
- void SetIndent(short);
-
- // Operations
- public:
- short GetTabPoint(short index);
- void SetTabPoint(short index, short nNewValue);
- void ClearTabStops();
- short GetStandardLevelPicture(short Level);
- void SetStandardLevelPicture(short Level, short nNewValue);
- CPicture GetCustomLevelPicture(short Level);
- void SetCustomLevelPicture(short Level, LPDISPATCH newValue);
- CBranch Find(short relationship, LPDISPATCH relative, LPCTSTR text);
- void BeginInPlaceEdit();
- void EndInPlaceEdit();
- long GetEditHWND();
- void AboutBox();
- };
-
- #endif // __PVTREEVIEW_H__
-