home *** CD-ROM | disk | FTP | other *** search
/ Mastering Visual Basic 5 / MasteringVisualBasic5.iso / protview / demowinx / data.1 / PVTREE~1.H < prev    next >
Encoding:
C/C++ Source or Header  |  1996-10-29  |  3.6 KB  |  123 lines

  1. #ifndef __PVTREEVIEW_H__
  2. #define __PVTREEVIEW_H__
  3.  
  4. // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
  5.  
  6. // NOTE: Do not modify the contents of this file.  If this class is regenerated by
  7. //  Microsoft Visual C++, your modifications will be overwritten.
  8.  
  9.  
  10. // Dispatch interfaces referenced by this interface
  11. class COleFont;
  12. class CBranch;
  13. class CPicture;
  14.  
  15. /////////////////////////////////////////////////////////////////////////////
  16. // CPVTreeView wrapper class
  17.  
  18. class CPVTreeView : public CWnd
  19. {
  20. protected:
  21.     DECLARE_DYNCREATE(CPVTreeView)
  22. public:
  23.     CLSID const& GetClsid()
  24.     {
  25.         static CLSID const clsid
  26.             = { 0xb283e214, 0x2cb3, 0x11d0, { 0xad, 0xa6, 0x0, 0x40, 0x5, 0x20, 0x79, 0x9c } };
  27.         return clsid;
  28.     }
  29.     virtual BOOL Create(LPCTSTR lpszClassName,
  30.         LPCTSTR lpszWindowName, DWORD dwStyle,
  31.         const RECT& rect,
  32.         CWnd* pParentWnd, UINT nID,
  33.         CCreateContext* pContext = NULL)
  34.     { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }
  35.  
  36.     BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
  37.         const RECT& rect, CWnd* pParentWnd, UINT nID,
  38.         CFile* pPersist = NULL, BOOL bStorage = FALSE,
  39.         BSTR bstrLicKey = NULL)
  40.     { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
  41.         pPersist, bStorage, bstrLicKey); }
  42.  
  43. // Attributes
  44. public:
  45.     OLE_COLOR GetBackColor();
  46.     void SetBackColor(OLE_COLOR);
  47.     BOOL GetEnabled();
  48.     void SetEnabled(BOOL);
  49.     COleFont GetFont();
  50.     void SetFont(LPDISPATCH);
  51.     OLE_COLOR GetForeColor();
  52.     void SetForeColor(OLE_COLOR);
  53.     OLE_HANDLE GetHWnd();
  54.     void SetHWnd(OLE_HANDLE);
  55.     short GetSelectMode();
  56.     void SetSelectMode(short);
  57.     BOOL GetSort();
  58.     void SetSort(BOOL);
  59.     BOOL GetUseTabStops();
  60.     void SetUseTabStops(BOOL);
  61.     BOOL GetIntegralHeight();
  62.     void SetIntegralHeight(BOOL);
  63.     BOOL GetMultiColumn();
  64.     void SetMultiColumn(BOOL);
  65.     BOOL GetEnableMicroBitmaps();
  66.     void SetEnableMicroBitmaps(BOOL);
  67.     BOOL GetEnableBitmaps();
  68.     void SetEnableBitmaps(BOOL);
  69.     BOOL GetEnableLines();
  70.     void SetEnableLines(BOOL);
  71.     BOOL GetAutoOpen();
  72.     void SetAutoOpen(BOOL);
  73.     short GetHorizontalExtent();
  74.     void SetHorizontalExtent(short);
  75.     BOOL GetProportionalScrollBars();
  76.     void SetProportionalScrollBars(BOOL);
  77.     CBranch GetBranches();
  78.     void SetBranches(LPDISPATCH);
  79.     short GetAppearance();
  80.     void SetAppearance(short);
  81.     short GetBorderStyle();
  82.     void SetBorderStyle(short);
  83.     BOOL GetAlwaysShowSelection();
  84.     void SetAlwaysShowSelection(BOOL);
  85.     short GetMultiColumnStyle();
  86.     void SetMultiColumnStyle(short);
  87.     short GetColumnWidth();
  88.     void SetColumnWidth(short);
  89.     short GetNumberOfColumns();
  90.     void SetNumberOfColumns(short);
  91.     short GetTabPointCount();
  92.     void SetTabPointCount(short);
  93.     long GetCount();
  94.     void SetCount(long);
  95.     long GetVisibleCount();
  96.     void SetVisibleCount(long);
  97.     BOOL GetUseStateBitmaps();
  98.     void SetUseStateBitmaps(BOOL);
  99.     CPicture GetCustomDefaultPicture();
  100.     void SetCustomDefaultPicture(LPDISPATCH);
  101.     short GetStandardDefaultPicture();
  102.     void SetStandardDefaultPicture(short);
  103.     short GetIndent();
  104.     void SetIndent(short);
  105.  
  106. // Operations
  107. public:
  108.     short GetTabPoint(short index);
  109.     void SetTabPoint(short index, short nNewValue);
  110.     void ClearTabStops();
  111.     short GetStandardLevelPicture(short Level);
  112.     void SetStandardLevelPicture(short Level, short nNewValue);
  113.     CPicture GetCustomLevelPicture(short Level);
  114.     void SetCustomLevelPicture(short Level, LPDISPATCH newValue);
  115.     CBranch Find(short relationship, LPDISPATCH relative, LPCTSTR text);
  116.     void BeginInPlaceEdit();
  117.     void EndInPlaceEdit();
  118.     long GetEditHWND();
  119.     void AboutBox();
  120. };
  121.  
  122. #endif // __PVTREEVIEW_H__
  123.