datalist.cpp
资源名称:SQLVC.rar [点击查看]
上传用户:biney012
上传日期:2022-05-09
资源大小:4592k
文件大小:8k
源码类别:
数据库系统
开发平台:
Visual C++
- // 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 "datalist.h"
- // Dispatch interfaces referenced by this interface
- #include "picture.h"
- #include "font.h"
- /////////////////////////////////////////////////////////////////////////////
- // CDataList
- IMPLEMENT_DYNCREATE(CDataList, CWnd)
- /////////////////////////////////////////////////////////////////////////////
- // CDataList properties
- /////////////////////////////////////////////////////////////////////////////
- // CDataList operations
- BOOL CDataList::GetLocked()
- {
- BOOL result;
- InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void CDataList::SetLocked(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- CString CDataList::GetBoundText()
- {
- CString result;
- InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- void CDataList::SetBoundText(LPCTSTR lpszNewValue)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- lpszNewValue);
- }
- CString CDataList::GetBoundColumn()
- {
- CString result;
- InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- void CDataList::SetBoundColumn(LPCTSTR lpszNewValue)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x4, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- lpszNewValue);
- }
- long CDataList::GetMousePointer()
- {
- long result;
- InvokeHelper(0xfffffdf7, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CDataList::SetMousePointer(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0xfffffdf7, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- CPicture CDataList::GetMouseIcon()
- {
- LPDISPATCH pDispatch;
- InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
- return CPicture(pDispatch);
- }
- void CDataList::SetMouseIcon(LPDISPATCH newValue)
- {
- static BYTE parms[] =
- VTS_DISPATCH;
- InvokeHelper(0x6, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- newValue);
- }
- void CDataList::SetRefMouseIcon(LPDISPATCH newValue)
- {
- static BYTE parms[] =
- VTS_DISPATCH;
- InvokeHelper(0x6, DISPATCH_PROPERTYPUTREF, VT_EMPTY, NULL, parms,
- newValue);
- }
- BOOL CDataList::GetIntegralHeight()
- {
- BOOL result;
- InvokeHelper(0x7, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void CDataList::SetIntegralHeight(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x7, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- long CDataList::GetMatchEntry()
- {
- long result;
- InvokeHelper(0x8, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CDataList::SetMatchEntry(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x8, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- VARIANT CDataList::GetSelectedItem()
- {
- VARIANT result;
- InvokeHelper(0x9, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- short CDataList::GetVisibleCount()
- {
- short result;
- InvokeHelper(0xa, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, NULL);
- return result;
- }
- CString CDataList::GetText()
- {
- CString result;
- InvokeHelper(0xb, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- void CDataList::SetText(LPCTSTR lpszNewValue)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0xb, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- lpszNewValue);
- }
- CString CDataList::GetListField()
- {
- CString result;
- InvokeHelper(0xc, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- void CDataList::SetListField(LPCTSTR lpszNewValue)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0xc, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- lpszNewValue);
- }
- COleFont CDataList::GetFont()
- {
- LPDISPATCH pDispatch;
- InvokeHelper(DISPID_FONT, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
- return COleFont(pDispatch);
- }
- void CDataList::SetRefFont(LPDISPATCH newValue)
- {
- static BYTE parms[] =
- VTS_DISPATCH;
- InvokeHelper(DISPID_FONT, DISPATCH_PROPERTYPUTREF, VT_EMPTY, NULL, parms,
- newValue);
- }
- BOOL CDataList::GetEnabled()
- {
- BOOL result;
- InvokeHelper(DISPID_ENABLED, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void CDataList::SetEnabled(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(DISPID_ENABLED, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- unsigned long CDataList::GetBackColor()
- {
- unsigned long result;
- InvokeHelper(DISPID_BACKCOLOR, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CDataList::SetBackColor(unsigned long newValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(DISPID_BACKCOLOR, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- newValue);
- }
- unsigned long CDataList::GetForeColor()
- {
- unsigned long result;
- InvokeHelper(DISPID_FORECOLOR, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CDataList::SetForeColor(unsigned long newValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(DISPID_FORECOLOR, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- newValue);
- }
- BOOL CDataList::GetMatchedWithList()
- {
- BOOL result;
- InvokeHelper(0xf, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- long CDataList::GetAppearance()
- {
- long result;
- InvokeHelper(0x10, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CDataList::SetAppearance(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x10, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- BOOL CDataList::GetRightToLeft()
- {
- BOOL result;
- InvokeHelper(0xfffffd9d, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void CDataList::SetRightToLeft(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0xfffffd9d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- long CDataList::GetHwnd()
- {
- long result;
- InvokeHelper(DISPID_HWND, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- LPUNKNOWN CDataList::GetRowSource()
- {
- LPUNKNOWN result;
- InvokeHelper(0x68, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
- return result;
- }
- void CDataList::SetRefRowSource(LPUNKNOWN newValue)
- {
- static BYTE parms[] =
- VTS_UNKNOWN;
- InvokeHelper(0x68, DISPATCH_PROPERTYPUTREF, VT_EMPTY, NULL, parms,
- newValue);
- }
- CString CDataList::GetRowMember()
- {
- CString result;
- InvokeHelper(0x67, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- void CDataList::SetRowMember(LPCTSTR lpszNewValue)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x67, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- lpszNewValue);
- }
- long CDataList::GetOLEDragMode()
- {
- long result;
- InvokeHelper(0x60e, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CDataList::SetOLEDragMode(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x60e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- long CDataList::GetOLEDropMode()
- {
- long result;
- InvokeHelper(0x60f, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CDataList::SetOLEDropMode(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x60f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- void CDataList::ReFill()
- {
- InvokeHelper(0xd, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- VARIANT CDataList::GetVisibleItems(short nIndex)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_I2;
- InvokeHelper(0xe, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, parms,
- nIndex);
- return result;
- }
- void CDataList::Refresh()
- {
- InvokeHelper(DISPID_REFRESH, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void CDataList::OLEDrag()
- {
- InvokeHelper(0x610, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }