datacombo1.cpp
上传用户:xz12345
上传日期:2007-09-12
资源大小:7437k
文件大小:10k
- // 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 "datacombo1.h"
- // Dispatch interfaces referenced by this interface
- #include "picture.h"
- #include "font.h"
- /////////////////////////////////////////////////////////////////////////////
- // CDataCombo
- IMPLEMENT_DYNCREATE(CDataCombo, CWnd)
- /////////////////////////////////////////////////////////////////////////////
- // CDataCombo properties
- /////////////////////////////////////////////////////////////////////////////
- // CDataCombo operations
- CString CDataCombo::GetListField()
- {
- CString result;
- InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- void CDataCombo::SetListField(LPCTSTR lpszNewValue)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- lpszNewValue);
- }
- CString CDataCombo::GetBoundText()
- {
- CString result;
- InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- void CDataCombo::SetBoundText(LPCTSTR lpszNewValue)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- lpszNewValue);
- }
- CString CDataCombo::GetBoundColumn()
- {
- CString result;
- InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- void CDataCombo::SetBoundColumn(LPCTSTR lpszNewValue)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x3, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- lpszNewValue);
- }
- long CDataCombo::GetStyle()
- {
- long result;
- InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CDataCombo::SetStyle(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x4, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- long CDataCombo::GetMousePointer()
- {
- long result;
- InvokeHelper(0xfffffdf7, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CDataCombo::SetMousePointer(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0xfffffdf7, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- BOOL CDataCombo::GetLocked()
- {
- BOOL result;
- InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void CDataCombo::SetLocked(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x6, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- CPicture CDataCombo::GetMouseIcon()
- {
- LPDISPATCH pDispatch;
- InvokeHelper(0x7, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
- return CPicture(pDispatch);
- }
- void CDataCombo::SetMouseIcon(LPDISPATCH newValue)
- {
- static BYTE parms[] =
- VTS_DISPATCH;
- InvokeHelper(0x7, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- newValue);
- }
- void CDataCombo::SetRefMouseIcon(LPDISPATCH newValue)
- {
- static BYTE parms[] =
- VTS_DISPATCH;
- InvokeHelper(0x7, DISPATCH_PROPERTYPUTREF, VT_EMPTY, NULL, parms,
- newValue);
- }
- BOOL CDataCombo::GetIntegralHeight()
- {
- BOOL result;
- InvokeHelper(0x8, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void CDataCombo::SetIntegralHeight(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x8, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- long CDataCombo::GetSelStart()
- {
- long result;
- InvokeHelper(0x9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CDataCombo::SetSelStart(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x9, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- long CDataCombo::GetSelLength()
- {
- long result;
- InvokeHelper(0xa, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CDataCombo::SetSelLength(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0xa, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- CString CDataCombo::GetSelText()
- {
- CString result;
- InvokeHelper(0xb, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- void CDataCombo::SetSelText(LPCTSTR lpszNewValue)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0xb, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- lpszNewValue);
- }
- long CDataCombo::GetMatchEntry()
- {
- long result;
- InvokeHelper(0xc, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CDataCombo::SetMatchEntry(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0xc, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- VARIANT CDataCombo::GetSelectedItem()
- {
- VARIANT result;
- InvokeHelper(0xd, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- short CDataCombo::GetVisibleCount()
- {
- short result;
- InvokeHelper(0xe, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, NULL);
- return result;
- }
- CString CDataCombo::GetText()
- {
- CString result;
- InvokeHelper(0xf, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- void CDataCombo::SetText(LPCTSTR lpszNewValue)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0xf, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- lpszNewValue);
- }
- unsigned long CDataCombo::GetBackColor()
- {
- unsigned long result;
- InvokeHelper(DISPID_BACKCOLOR, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CDataCombo::SetBackColor(unsigned long newValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(DISPID_BACKCOLOR, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- newValue);
- }
- unsigned long CDataCombo::GetForeColor()
- {
- unsigned long result;
- InvokeHelper(DISPID_FORECOLOR, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CDataCombo::SetForeColor(unsigned long newValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(DISPID_FORECOLOR, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- newValue);
- }
- COleFont CDataCombo::GetFont()
- {
- LPDISPATCH pDispatch;
- InvokeHelper(DISPID_FONT, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
- return COleFont(pDispatch);
- }
- void CDataCombo::SetRefFont(LPDISPATCH newValue)
- {
- static BYTE parms[] =
- VTS_DISPATCH;
- InvokeHelper(DISPID_FONT, DISPATCH_PROPERTYPUTREF, VT_EMPTY, NULL, parms,
- newValue);
- }
- BOOL CDataCombo::GetEnabled()
- {
- BOOL result;
- InvokeHelper(DISPID_ENABLED, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void CDataCombo::SetEnabled(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(DISPID_ENABLED, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- BOOL CDataCombo::GetMatchedWithList()
- {
- BOOL result;
- InvokeHelper(0x13, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- long CDataCombo::GetAppearance()
- {
- long result;
- InvokeHelper(0x14, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CDataCombo::SetAppearance(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x14, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- long CDataCombo::GetHwnd()
- {
- long result;
- InvokeHelper(DISPID_HWND, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- BOOL CDataCombo::GetRightToLeft()
- {
- BOOL result;
- InvokeHelper(0xfffffd9d, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void CDataCombo::SetRightToLeft(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0xfffffd9d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- LPUNKNOWN CDataCombo::GetRowSource()
- {
- LPUNKNOWN result;
- InvokeHelper(0x68, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
- return result;
- }
- void CDataCombo::SetRefRowSource(LPUNKNOWN newValue)
- {
- static BYTE parms[] =
- VTS_UNKNOWN;
- InvokeHelper(0x68, DISPATCH_PROPERTYPUTREF, VT_EMPTY, NULL, parms,
- newValue);
- }
- CString CDataCombo::GetRowMember()
- {
- CString result;
- InvokeHelper(0x67, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- void CDataCombo::SetRowMember(LPCTSTR lpszNewValue)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x67, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- lpszNewValue);
- }
- long CDataCombo::GetOLEDragMode()
- {
- long result;
- InvokeHelper(0x60e, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CDataCombo::SetOLEDragMode(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x60e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- long CDataCombo::GetOLEDropMode()
- {
- long result;
- InvokeHelper(0x60f, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CDataCombo::SetOLEDropMode(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x60f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- void CDataCombo::ReFill()
- {
- InvokeHelper(0x11, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- VARIANT CDataCombo::GetVisibleItems(short nIndex)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_I2;
- InvokeHelper(0x12, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, parms,
- nIndex);
- return result;
- }
- void CDataCombo::Refresh()
- {
- InvokeHelper(DISPID_REFRESH, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void CDataCombo::OLEDrag()
- {
- InvokeHelper(0x610, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }