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 "pvtreeview3.h"
-
- // Dispatch interfaces referenced by this interface
- #include "font.h"
- #include "pvibranch.h"
- #include "Picture.h"
-
- /////////////////////////////////////////////////////////////////////////////
- // CPVTreeView3
-
- IMPLEMENT_DYNCREATE(CPVTreeView3, CWnd)
-
- /////////////////////////////////////////////////////////////////////////////
- // CPVTreeView3 properties
-
- OLE_COLOR CPVTreeView3::GetBackColor()
- {
- OLE_COLOR result;
- GetProperty(DISPID_BACKCOLOR, VT_I4, (void*)&result);
- return result;
- }
-
- void CPVTreeView3::SetBackColor(OLE_COLOR propVal)
- {
- SetProperty(DISPID_BACKCOLOR, VT_I4, propVal);
- }
-
- BOOL CPVTreeView3::GetEnabled()
- {
- BOOL result;
- GetProperty(DISPID_ENABLED, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CPVTreeView3::SetEnabled(BOOL propVal)
- {
- SetProperty(DISPID_ENABLED, VT_BOOL, propVal);
- }
-
- COleFont CPVTreeView3::GetFont()
- {
- LPDISPATCH pDispatch;
- GetProperty(DISPID_FONT, VT_DISPATCH, (void*)&pDispatch);
- return COleFont(pDispatch);
- }
-
- void CPVTreeView3::SetFont(LPDISPATCH propVal)
- {
- SetProperty(DISPID_FONT, VT_DISPATCH, propVal);
- }
-
- OLE_COLOR CPVTreeView3::GetForeColor()
- {
- OLE_COLOR result;
- GetProperty(DISPID_FORECOLOR, VT_I4, (void*)&result);
- return result;
- }
-
- void CPVTreeView3::SetForeColor(OLE_COLOR propVal)
- {
- SetProperty(DISPID_FORECOLOR, VT_I4, propVal);
- }
-
- OLE_HANDLE CPVTreeView3::GetHWnd()
- {
- OLE_HANDLE result;
- GetProperty(DISPID_HWND, VT_I4, (void*)&result);
- return result;
- }
-
- void CPVTreeView3::SetHWnd(OLE_HANDLE propVal)
- {
- SetProperty(DISPID_HWND, VT_I4, propVal);
- }
-
- short CPVTreeView3::GetAppearance()
- {
- short result;
- GetProperty(DISPID_APPEARANCE, VT_I2, (void*)&result);
- return result;
- }
-
- void CPVTreeView3::SetAppearance(short propVal)
- {
- SetProperty(DISPID_APPEARANCE, VT_I2, propVal);
- }
-
- short CPVTreeView3::GetBorderStyle()
- {
- short result;
- GetProperty(DISPID_BORDERSTYLE, VT_I2, (void*)&result);
- return result;
- }
-
- void CPVTreeView3::SetBorderStyle(short propVal)
- {
- SetProperty(DISPID_BORDERSTYLE, VT_I2, propVal);
- }
-
- long CPVTreeView3::GetSelectMode()
- {
- long result;
- GetProperty(0x1, VT_I4, (void*)&result);
- return result;
- }
-
- void CPVTreeView3::SetSelectMode(long propVal)
- {
- SetProperty(0x1, VT_I4, propVal);
- }
-
- BOOL CPVTreeView3::GetSort()
- {
- BOOL result;
- GetProperty(0x2, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CPVTreeView3::SetSort(BOOL propVal)
- {
- SetProperty(0x2, VT_BOOL, propVal);
- }
-
- BOOL CPVTreeView3::GetUseTabStops()
- {
- BOOL result;
- GetProperty(0x3, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CPVTreeView3::SetUseTabStops(BOOL propVal)
- {
- SetProperty(0x3, VT_BOOL, propVal);
- }
-
- BOOL CPVTreeView3::GetIntegralHeight()
- {
- BOOL result;
- GetProperty(0x4, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CPVTreeView3::SetIntegralHeight(BOOL propVal)
- {
- SetProperty(0x4, VT_BOOL, propVal);
- }
-
- BOOL CPVTreeView3::GetMultiColumn()
- {
- BOOL result;
- GetProperty(0x5, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CPVTreeView3::SetMultiColumn(BOOL propVal)
- {
- SetProperty(0x5, VT_BOOL, propVal);
- }
-
- BOOL CPVTreeView3::GetEnableMicroBitmaps()
- {
- BOOL result;
- GetProperty(0x6, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CPVTreeView3::SetEnableMicroBitmaps(BOOL propVal)
- {
- SetProperty(0x6, VT_BOOL, propVal);
- }
-
- BOOL CPVTreeView3::GetEnableBitmaps()
- {
- BOOL result;
- GetProperty(0x7, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CPVTreeView3::SetEnableBitmaps(BOOL propVal)
- {
- SetProperty(0x7, VT_BOOL, propVal);
- }
-
- BOOL CPVTreeView3::GetEnableLines()
- {
- BOOL result;
- GetProperty(0x8, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CPVTreeView3::SetEnableLines(BOOL propVal)
- {
- SetProperty(0x8, VT_BOOL, propVal);
- }
-
- BOOL CPVTreeView3::GetAutoOpen()
- {
- BOOL result;
- GetProperty(0x9, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CPVTreeView3::SetAutoOpen(BOOL propVal)
- {
- SetProperty(0x9, VT_BOOL, propVal);
- }
-
- short CPVTreeView3::GetHorizontalExtent()
- {
- short result;
- GetProperty(0xa, VT_I2, (void*)&result);
- return result;
- }
-
- void CPVTreeView3::SetHorizontalExtent(short propVal)
- {
- SetProperty(0xa, VT_I2, propVal);
- }
-
- BOOL CPVTreeView3::GetProportionalScrollBars()
- {
- BOOL result;
- GetProperty(0xb, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CPVTreeView3::SetProportionalScrollBars(BOOL propVal)
- {
- SetProperty(0xb, VT_BOOL, propVal);
- }
-
- BOOL CPVTreeView3::GetAlwaysShowSelection()
- {
- BOOL result;
- GetProperty(0xc, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CPVTreeView3::SetAlwaysShowSelection(BOOL propVal)
- {
- SetProperty(0xc, VT_BOOL, propVal);
- }
-
- long CPVTreeView3::GetMultiColumnStyle()
- {
- long result;
- GetProperty(0xd, VT_I4, (void*)&result);
- return result;
- }
-
- void CPVTreeView3::SetMultiColumnStyle(long propVal)
- {
- SetProperty(0xd, VT_I4, propVal);
- }
-
- short CPVTreeView3::GetColumnWidth()
- {
- short result;
- GetProperty(0xe, VT_I2, (void*)&result);
- return result;
- }
-
- void CPVTreeView3::SetColumnWidth(short propVal)
- {
- SetProperty(0xe, VT_I2, propVal);
- }
-
- short CPVTreeView3::GetNumberOfColumns()
- {
- short result;
- GetProperty(0xf, VT_I2, (void*)&result);
- return result;
- }
-
- void CPVTreeView3::SetNumberOfColumns(short propVal)
- {
- SetProperty(0xf, VT_I2, propVal);
- }
-
- BOOL CPVTreeView3::GetUseStateBitmaps()
- {
- BOOL result;
- GetProperty(0x10, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CPVTreeView3::SetUseStateBitmaps(BOOL propVal)
- {
- SetProperty(0x10, VT_BOOL, propVal);
- }
-
- long CPVTreeView3::GetStandardDefaultPicture()
- {
- long result;
- GetProperty(0x11, VT_I4, (void*)&result);
- return result;
- }
-
- void CPVTreeView3::SetStandardDefaultPicture(long propVal)
- {
- SetProperty(0x11, VT_I4, propVal);
- }
-
- short CPVTreeView3::GetIndent()
- {
- short result;
- GetProperty(0x12, VT_I2, (void*)&result);
- return result;
- }
-
- void CPVTreeView3::SetIndent(short propVal)
- {
- SetProperty(0x12, VT_I2, propVal);
- }
-
- BOOL CPVTreeView3::GetAllowInPlaceEditing()
- {
- BOOL result;
- GetProperty(0x13, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CPVTreeView3::SetAllowInPlaceEditing(BOOL propVal)
- {
- SetProperty(0x13, VT_BOOL, propVal);
- }
-
- BOOL CPVTreeView3::GetEnableToolTips()
- {
- BOOL result;
- GetProperty(0x14, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CPVTreeView3::SetEnableToolTips(BOOL propVal)
- {
- SetProperty(0x14, VT_BOOL, propVal);
- }
-
- unsigned long CPVTreeView3::GetToolTipBackColor()
- {
- unsigned long result;
- GetProperty(0x15, VT_I4, (void*)&result);
- return result;
- }
-
- void CPVTreeView3::SetToolTipBackColor(unsigned long propVal)
- {
- SetProperty(0x15, VT_I4, propVal);
- }
-
- unsigned long CPVTreeView3::GetSelectedTextBackColor()
- {
- unsigned long result;
- GetProperty(0x16, VT_I4, (void*)&result);
- return result;
- }
-
- void CPVTreeView3::SetSelectedTextBackColor(unsigned long propVal)
- {
- SetProperty(0x16, VT_I4, propVal);
- }
-
- unsigned long CPVTreeView3::GetSelectedTextForeColor()
- {
- unsigned long result;
- GetProperty(0x17, VT_I4, (void*)&result);
- return result;
- }
-
- void CPVTreeView3::SetSelectedTextForeColor(unsigned long propVal)
- {
- SetProperty(0x17, VT_I4, propVal);
- }
-
- unsigned long CPVTreeView3::GetLineColor()
- {
- unsigned long result;
- GetProperty(0x18, VT_I4, (void*)&result);
- return result;
- }
-
- void CPVTreeView3::SetLineColor(unsigned long propVal)
- {
- SetProperty(0x18, VT_I4, propVal);
- }
-
- BOOL CPVTreeView3::GetRedraw()
- {
- BOOL result;
- GetProperty(0x19, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CPVTreeView3::SetRedraw(BOOL propVal)
- {
- SetProperty(0x19, VT_BOOL, propVal);
- }
-
- CPVIBranch CPVTreeView3::GetBranches()
- {
- LPDISPATCH pDispatch;
- GetProperty(0x1a, VT_DISPATCH, (void*)&pDispatch);
- return CPVIBranch(pDispatch);
- }
-
- void CPVTreeView3::SetBranches(LPDISPATCH propVal)
- {
- SetProperty(0x1a, VT_DISPATCH, propVal);
- }
-
- short CPVTreeView3::GetTabPointCount()
- {
- short result;
- GetProperty(0x1b, VT_I2, (void*)&result);
- return result;
- }
-
- void CPVTreeView3::SetTabPointCount(short propVal)
- {
- SetProperty(0x1b, VT_I2, propVal);
- }
-
- long CPVTreeView3::GetCount()
- {
- long result;
- GetProperty(0x1c, VT_I4, (void*)&result);
- return result;
- }
-
- void CPVTreeView3::SetCount(long propVal)
- {
- SetProperty(0x1c, VT_I4, propVal);
- }
-
- long CPVTreeView3::GetVisibleCount()
- {
- long result;
- GetProperty(0x1d, VT_I4, (void*)&result);
- return result;
- }
-
- void CPVTreeView3::SetVisibleCount(long propVal)
- {
- SetProperty(0x1d, VT_I4, propVal);
- }
-
- CPicture CPVTreeView3::GetCustomDefaultPicture()
- {
- LPDISPATCH pDispatch;
- GetProperty(0x1e, VT_DISPATCH, (void*)&pDispatch);
- return CPicture(pDispatch);
- }
-
- void CPVTreeView3::SetCustomDefaultPicture(LPDISPATCH propVal)
- {
- SetProperty(0x1e, VT_DISPATCH, propVal);
- }
-
- LPUNKNOWN CPVTreeView3::GetDataSource()
- {
- LPUNKNOWN result;
- GetProperty(0x1f, VT_UNKNOWN, (void*)&result);
- return result;
- }
-
- void CPVTreeView3::SetDataSource(LPUNKNOWN propVal)
- {
- SetProperty(0x1f, VT_UNKNOWN, propVal);
- }
-
- CString CPVTreeView3::GetDataMember()
- {
- CString result;
- GetProperty(0x21, VT_BSTR, (void*)&result);
- return result;
- }
-
- void CPVTreeView3::SetDataMember(LPCTSTR propVal)
- {
- SetProperty(0x21, VT_BSTR, propVal);
- }
-
- /////////////////////////////////////////////////////////////////////////////
- // CPVTreeView3 operations
-
- void CPVTreeView3::ClearTabStops()
- {
- InvokeHelper(0xc8, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
-
- CPVIBranch CPVTreeView3::Find(long relationship, LPDISPATCH relative, LPCTSTR Text)
- {
- LPDISPATCH pDispatch;
- static BYTE parms[] =
- VTS_I4 VTS_DISPATCH VTS_BSTR;
- InvokeHelper(0xc9, DISPATCH_METHOD, VT_DISPATCH, (void*)&pDispatch, parms,
- relationship, relative, Text);
- return CPVIBranch(pDispatch);
- }
-
- void CPVTreeView3::BeginInPlaceEdit()
- {
- InvokeHelper(0xca, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
-
- void CPVTreeView3::EndInPlaceEdit()
- {
- InvokeHelper(0xcb, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
-
- long CPVTreeView3::GetEditHWND()
- {
- long result;
- InvokeHelper(0xcc, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
- return result;
- }
-
- CPVIBranch CPVTreeView3::HitTest(long x, long y)
- {
- LPDISPATCH pDispatch;
- static BYTE parms[] =
- VTS_I4 VTS_I4;
- InvokeHelper(0xcd, DISPATCH_METHOD, VT_DISPATCH, (void*)&pDispatch, parms,
- x, y);
- return CPVIBranch(pDispatch);
- }
-
- short CPVTreeView3::GetTabPoint(short index)
- {
- short result;
- static BYTE parms[] =
- VTS_I2;
- InvokeHelper(0xce, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, parms,
- index);
- return result;
- }
-
- void CPVTreeView3::SetTabPoint(short index, short nNewValue)
- {
- static BYTE parms[] =
- VTS_I2 VTS_I2;
- InvokeHelper(0xce, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- index, nNewValue);
- }
-
- long CPVTreeView3::GetStandardLevelPicture(short Level)
- {
- long result;
- static BYTE parms[] =
- VTS_I2;
- InvokeHelper(0xcf, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
- Level);
- return result;
- }
-
- void CPVTreeView3::SetStandardLevelPicture(short Level, long nNewValue)
- {
- static BYTE parms[] =
- VTS_I2 VTS_I4;
- InvokeHelper(0xcf, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- Level, nNewValue);
- }
-
- CPicture CPVTreeView3::GetCustomLevelPicture(short Level)
- {
- LPDISPATCH pDispatch;
- static BYTE parms[] =
- VTS_I2;
- InvokeHelper(0xd0, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, parms,
- Level);
- return CPicture(pDispatch);
- }
-
- void CPVTreeView3::SetRefCustomLevelPicture(short Level, LPDISPATCH newValue)
- {
- static BYTE parms[] =
- VTS_I2 VTS_DISPATCH;
- InvokeHelper(0xd0, DISPATCH_PROPERTYPUTREF, VT_EMPTY, NULL, parms,
- Level, newValue);
- }
-
- CString CPVTreeView3::GetDataField(long nIndex)
- {
- CString result;
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0xd1, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, parms,
- nIndex);
- return result;
- }
-
- void CPVTreeView3::SetDataField(long nIndex, LPCTSTR lpszNewValue)
- {
- static BYTE parms[] =
- VTS_I4 VTS_BSTR;
- InvokeHelper(0xd1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nIndex, lpszNewValue);
- }
-
- void CPVTreeView3::AboutBox()
- {
- InvokeHelper(0xfffffdd8, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
-