home *** CD-ROM | disk | FTP | other *** search
- // 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.
-
-
- #include "stdafx.h"
- #include "pvtreeview.h"
-
- // Dispatch interfaces referenced by this interface
- #include "font.h"
- #include "branch.h"
- #include "picture.h"
-
- /////////////////////////////////////////////////////////////////////////////
- // CPVTreeView
-
- IMPLEMENT_DYNCREATE(CPVTreeView, CWnd)
-
- /////////////////////////////////////////////////////////////////////////////
- // CPVTreeView properties
-
- OLE_COLOR CPVTreeView::GetBackColor()
- {
- OLE_COLOR result;
- GetProperty(DISPID_BACKCOLOR, VT_I4, (void*)&result);
- return result;
- }
-
- void CPVTreeView::SetBackColor(OLE_COLOR propVal)
- {
- SetProperty(DISPID_BACKCOLOR, VT_I4, propVal);
- }
-
- BOOL CPVTreeView::GetEnabled()
- {
- BOOL result;
- GetProperty(DISPID_ENABLED, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CPVTreeView::SetEnabled(BOOL propVal)
- {
- SetProperty(DISPID_ENABLED, VT_BOOL, propVal);
- }
-
- COleFont CPVTreeView::GetFont()
- {
- LPDISPATCH pDispatch;
- GetProperty(DISPID_FONT, VT_DISPATCH, (void*)&pDispatch);
- return COleFont(pDispatch);
- }
-
- void CPVTreeView::SetFont(LPDISPATCH propVal)
- {
- SetProperty(DISPID_FONT, VT_DISPATCH, propVal);
- }
-
- OLE_COLOR CPVTreeView::GetForeColor()
- {
- OLE_COLOR result;
- GetProperty(DISPID_FORECOLOR, VT_I4, (void*)&result);
- return result;
- }
-
- void CPVTreeView::SetForeColor(OLE_COLOR propVal)
- {
- SetProperty(DISPID_FORECOLOR, VT_I4, propVal);
- }
-
- OLE_HANDLE CPVTreeView::GetHWnd()
- {
- OLE_HANDLE result;
- GetProperty(DISPID_HWND, VT_I4, (void*)&result);
- return result;
- }
-
- void CPVTreeView::SetHWnd(OLE_HANDLE propVal)
- {
- SetProperty(DISPID_HWND, VT_I4, propVal);
- }
-
- short CPVTreeView::GetSelectMode()
- {
- short result;
- GetProperty(0x1, VT_I2, (void*)&result);
- return result;
- }
-
- void CPVTreeView::SetSelectMode(short propVal)
- {
- SetProperty(0x1, VT_I2, propVal);
- }
-
- BOOL CPVTreeView::GetSort()
- {
- BOOL result;
- GetProperty(0x2, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CPVTreeView::SetSort(BOOL propVal)
- {
- SetProperty(0x2, VT_BOOL, propVal);
- }
-
- BOOL CPVTreeView::GetUseTabStops()
- {
- BOOL result;
- GetProperty(0x3, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CPVTreeView::SetUseTabStops(BOOL propVal)
- {
- SetProperty(0x3, VT_BOOL, propVal);
- }
-
- BOOL CPVTreeView::GetIntegralHeight()
- {
- BOOL result;
- GetProperty(0x4, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CPVTreeView::SetIntegralHeight(BOOL propVal)
- {
- SetProperty(0x4, VT_BOOL, propVal);
- }
-
- BOOL CPVTreeView::GetMultiColumn()
- {
- BOOL result;
- GetProperty(0x5, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CPVTreeView::SetMultiColumn(BOOL propVal)
- {
- SetProperty(0x5, VT_BOOL, propVal);
- }
-
- BOOL CPVTreeView::GetEnableMicroBitmaps()
- {
- BOOL result;
- GetProperty(0x6, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CPVTreeView::SetEnableMicroBitmaps(BOOL propVal)
- {
- SetProperty(0x6, VT_BOOL, propVal);
- }
-
- BOOL CPVTreeView::GetEnableBitmaps()
- {
- BOOL result;
- GetProperty(0x7, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CPVTreeView::SetEnableBitmaps(BOOL propVal)
- {
- SetProperty(0x7, VT_BOOL, propVal);
- }
-
- BOOL CPVTreeView::GetEnableLines()
- {
- BOOL result;
- GetProperty(0x8, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CPVTreeView::SetEnableLines(BOOL propVal)
- {
- SetProperty(0x8, VT_BOOL, propVal);
- }
-
- BOOL CPVTreeView::GetAutoOpen()
- {
- BOOL result;
- GetProperty(0x9, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CPVTreeView::SetAutoOpen(BOOL propVal)
- {
- SetProperty(0x9, VT_BOOL, propVal);
- }
-
- short CPVTreeView::GetHorizontalExtent()
- {
- short result;
- GetProperty(0xa, VT_I2, (void*)&result);
- return result;
- }
-
- void CPVTreeView::SetHorizontalExtent(short propVal)
- {
- SetProperty(0xa, VT_I2, propVal);
- }
-
- BOOL CPVTreeView::GetProportionalScrollBars()
- {
- BOOL result;
- GetProperty(0xb, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CPVTreeView::SetProportionalScrollBars(BOOL propVal)
- {
- SetProperty(0xb, VT_BOOL, propVal);
- }
-
- CBranch CPVTreeView::GetBranches()
- {
- LPDISPATCH pDispatch;
- GetProperty(0x13, VT_DISPATCH, (void*)&pDispatch);
- return CBranch(pDispatch);
- }
-
- void CPVTreeView::SetBranches(LPDISPATCH propVal)
- {
- SetProperty(0x13, VT_DISPATCH, propVal);
- }
-
- short CPVTreeView::GetAppearance()
- {
- short result;
- GetProperty(DISPID_APPEARANCE, VT_I2, (void*)&result);
- return result;
- }
-
- void CPVTreeView::SetAppearance(short propVal)
- {
- SetProperty(DISPID_APPEARANCE, VT_I2, propVal);
- }
-
- short CPVTreeView::GetBorderStyle()
- {
- short result;
- GetProperty(DISPID_BORDERSTYLE, VT_I2, (void*)&result);
- return result;
- }
-
- void CPVTreeView::SetBorderStyle(short propVal)
- {
- SetProperty(DISPID_BORDERSTYLE, VT_I2, propVal);
- }
-
- BOOL CPVTreeView::GetAlwaysShowSelection()
- {
- BOOL result;
- GetProperty(0xc, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CPVTreeView::SetAlwaysShowSelection(BOOL propVal)
- {
- SetProperty(0xc, VT_BOOL, propVal);
- }
-
- short CPVTreeView::GetMultiColumnStyle()
- {
- short result;
- GetProperty(0xd, VT_I2, (void*)&result);
- return result;
- }
-
- void CPVTreeView::SetMultiColumnStyle(short propVal)
- {
- SetProperty(0xd, VT_I2, propVal);
- }
-
- short CPVTreeView::GetColumnWidth()
- {
- short result;
- GetProperty(0xe, VT_I2, (void*)&result);
- return result;
- }
-
- void CPVTreeView::SetColumnWidth(short propVal)
- {
- SetProperty(0xe, VT_I2, propVal);
- }
-
- short CPVTreeView::GetNumberOfColumns()
- {
- short result;
- GetProperty(0xf, VT_I2, (void*)&result);
- return result;
- }
-
- void CPVTreeView::SetNumberOfColumns(short propVal)
- {
- SetProperty(0xf, VT_I2, propVal);
- }
-
- short CPVTreeView::GetTabPointCount()
- {
- short result;
- GetProperty(0x14, VT_I2, (void*)&result);
- return result;
- }
-
- void CPVTreeView::SetTabPointCount(short propVal)
- {
- SetProperty(0x14, VT_I2, propVal);
- }
-
- long CPVTreeView::GetCount()
- {
- long result;
- GetProperty(0x15, VT_I4, (void*)&result);
- return result;
- }
-
- void CPVTreeView::SetCount(long propVal)
- {
- SetProperty(0x15, VT_I4, propVal);
- }
-
- long CPVTreeView::GetVisibleCount()
- {
- long result;
- GetProperty(0x16, VT_I4, (void*)&result);
- return result;
- }
-
- void CPVTreeView::SetVisibleCount(long propVal)
- {
- SetProperty(0x16, VT_I4, propVal);
- }
-
- BOOL CPVTreeView::GetUseStateBitmaps()
- {
- BOOL result;
- GetProperty(0x10, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CPVTreeView::SetUseStateBitmaps(BOOL propVal)
- {
- SetProperty(0x10, VT_BOOL, propVal);
- }
-
- CPicture CPVTreeView::GetCustomDefaultPicture()
- {
- LPDISPATCH pDispatch;
- GetProperty(0x17, VT_DISPATCH, (void*)&pDispatch);
- return CPicture(pDispatch);
- }
-
- void CPVTreeView::SetCustomDefaultPicture(LPDISPATCH propVal)
- {
- SetProperty(0x17, VT_DISPATCH, propVal);
- }
-
- short CPVTreeView::GetStandardDefaultPicture()
- {
- short result;
- GetProperty(0x11, VT_I2, (void*)&result);
- return result;
- }
-
- void CPVTreeView::SetStandardDefaultPicture(short propVal)
- {
- SetProperty(0x11, VT_I2, propVal);
- }
-
- short CPVTreeView::GetIndent()
- {
- short result;
- GetProperty(0x12, VT_I2, (void*)&result);
- return result;
- }
-
- void CPVTreeView::SetIndent(short propVal)
- {
- SetProperty(0x12, VT_I2, propVal);
- }
-
- /////////////////////////////////////////////////////////////////////////////
- // CPVTreeView operations
-
- short CPVTreeView::GetTabPoint(short index)
- {
- short result;
- static BYTE parms[] =
- VTS_I2;
- InvokeHelper(0x1d, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, parms,
- index);
- return result;
- }
-
- void CPVTreeView::SetTabPoint(short index, short nNewValue)
- {
- static BYTE parms[] =
- VTS_I2 VTS_I2;
- InvokeHelper(0x1d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- index, nNewValue);
- }
-
- void CPVTreeView::ClearTabStops()
- {
- InvokeHelper(0x18, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
-
- short CPVTreeView::GetStandardLevelPicture(short Level)
- {
- short result;
- static BYTE parms[] =
- VTS_I2;
- InvokeHelper(0x1e, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, parms,
- Level);
- return result;
- }
-
- void CPVTreeView::SetStandardLevelPicture(short Level, short nNewValue)
- {
- static BYTE parms[] =
- VTS_I2 VTS_I2;
- InvokeHelper(0x1e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- Level, nNewValue);
- }
-
- CPicture CPVTreeView::GetCustomLevelPicture(short Level)
- {
- LPDISPATCH pDispatch;
- static BYTE parms[] =
- VTS_I2;
- InvokeHelper(0x1f, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, parms,
- Level);
- return CPicture(pDispatch);
- }
-
- void CPVTreeView::SetCustomLevelPicture(short Level, LPDISPATCH newValue)
- {
- static BYTE parms[] =
- VTS_I2 VTS_DISPATCH;
- InvokeHelper(0x1f, DISPATCH_PROPERTYPUTREF, VT_EMPTY, NULL, parms,
- Level, newValue);
- }
-
- CBranch CPVTreeView::Find(short relationship, LPDISPATCH relative, LPCTSTR text)
- {
- LPDISPATCH pDispatch;
- static BYTE parms[] =
- VTS_I2 VTS_DISPATCH VTS_BSTR;
- InvokeHelper(0x19, DISPATCH_METHOD, VT_DISPATCH, (void*)&pDispatch, parms,
- relationship, relative, text);
- return CBranch(pDispatch);
- }
-
- void CPVTreeView::BeginInPlaceEdit()
- {
- InvokeHelper(0x1a, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
-
- void CPVTreeView::EndInPlaceEdit()
- {
- InvokeHelper(0x1b, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
-
- long CPVTreeView::GetEditHWND()
- {
- long result;
- InvokeHelper(0x1c, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
- return result;
- }
-
- void CPVTreeView::AboutBox()
- {
- InvokeHelper(0xfffffdd8, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
-