msflexgrid.cpp
资源名称:vc++gps.zip [点击查看]
上传用户:jc6688
上传日期:2013-05-06
资源大小:344k
文件大小:29k
源码类别:
GPS编程
开发平台:
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 "msflexgrid.h"
- // Dispatch interfaces referenced by this interface
- #include "Font.h"
- #include "Picture.h"
- #include "rowcursor.h"
- /////////////////////////////////////////////////////////////////////////////
- // CMSFlexGrid
- IMPLEMENT_DYNCREATE(CMSFlexGrid, CWnd)
- /////////////////////////////////////////////////////////////////////////////
- // CMSFlexGrid properties
- /////////////////////////////////////////////////////////////////////////////
- // CMSFlexGrid operations
- long CMSFlexGrid::GetRows()
- {
- long result;
- InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CMSFlexGrid::SetRows(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x4, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- long CMSFlexGrid::GetCols()
- {
- long result;
- InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CMSFlexGrid::SetCols(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x5, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- long CMSFlexGrid::GetFixedRows()
- {
- long result;
- InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CMSFlexGrid::SetFixedRows(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x6, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- long CMSFlexGrid::GetFixedCols()
- {
- long result;
- InvokeHelper(0x7, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CMSFlexGrid::SetFixedCols(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x7, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- short CMSFlexGrid::GetVersion()
- {
- short result;
- InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, NULL);
- return result;
- }
- CString CMSFlexGrid::GetFormatString()
- {
- CString result;
- InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- void CMSFlexGrid::SetFormatString(LPCTSTR lpszNewValue)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- lpszNewValue);
- }
- long CMSFlexGrid::GetTopRow()
- {
- long result;
- InvokeHelper(0x8, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CMSFlexGrid::SetTopRow(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x8, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- long CMSFlexGrid::GetLeftCol()
- {
- long result;
- InvokeHelper(0x9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CMSFlexGrid::SetLeftCol(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x9, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- long CMSFlexGrid::GetRow()
- {
- long result;
- InvokeHelper(0xa, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CMSFlexGrid::SetRow(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0xa, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- long CMSFlexGrid::GetCol()
- {
- long result;
- InvokeHelper(0xb, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CMSFlexGrid::SetCol(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0xb, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- long CMSFlexGrid::GetRowSel()
- {
- long result;
- InvokeHelper(0xc, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CMSFlexGrid::SetRowSel(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0xc, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- long CMSFlexGrid::GetColSel()
- {
- long result;
- InvokeHelper(0xd, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CMSFlexGrid::SetColSel(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0xd, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- CString CMSFlexGrid::GetText()
- {
- CString result;
- InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- void CMSFlexGrid::SetText(LPCTSTR lpszNewValue)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x0, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- lpszNewValue);
- }
- unsigned long CMSFlexGrid::GetBackColor()
- {
- unsigned long result;
- InvokeHelper(DISPID_BACKCOLOR, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CMSFlexGrid::SetBackColor(unsigned long newValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(DISPID_BACKCOLOR, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- newValue);
- }
- unsigned long CMSFlexGrid::GetForeColor()
- {
- unsigned long result;
- InvokeHelper(DISPID_FORECOLOR, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CMSFlexGrid::SetForeColor(unsigned long newValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(DISPID_FORECOLOR, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- newValue);
- }
- unsigned long CMSFlexGrid::GetBackColorFixed()
- {
- unsigned long result;
- InvokeHelper(0xe, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CMSFlexGrid::SetBackColorFixed(unsigned long newValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0xe, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- newValue);
- }
- unsigned long CMSFlexGrid::GetForeColorFixed()
- {
- unsigned long result;
- InvokeHelper(0xf, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CMSFlexGrid::SetForeColorFixed(unsigned long newValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0xf, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- newValue);
- }
- unsigned long CMSFlexGrid::GetBackColorSel()
- {
- unsigned long result;
- InvokeHelper(0x10, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CMSFlexGrid::SetBackColorSel(unsigned long newValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x10, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- newValue);
- }
- unsigned long CMSFlexGrid::GetForeColorSel()
- {
- unsigned long result;
- InvokeHelper(0x11, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CMSFlexGrid::SetForeColorSel(unsigned long newValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x11, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- newValue);
- }
- unsigned long CMSFlexGrid::GetBackColorBkg()
- {
- unsigned long result;
- InvokeHelper(0x12, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CMSFlexGrid::SetBackColorBkg(unsigned long newValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x12, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- newValue);
- }
- BOOL CMSFlexGrid::GetWordWrap()
- {
- BOOL result;
- InvokeHelper(0x13, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void CMSFlexGrid::SetWordWrap(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x13, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- COleFont1 CMSFlexGrid::GetFont()
- {
- LPDISPATCH pDispatch;
- InvokeHelper(DISPID_FONT, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
- return COleFont1(pDispatch);
- }
- void CMSFlexGrid::SetRefFont(LPDISPATCH newValue)
- {
- static BYTE parms[] =
- VTS_DISPATCH;
- InvokeHelper(DISPID_FONT, DISPATCH_PROPERTYPUTREF, VT_EMPTY, NULL, parms,
- newValue);
- }
- float CMSFlexGrid::GetFontWidth()
- {
- float result;
- InvokeHelper(0x54, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
- return result;
- }
- void CMSFlexGrid::SetFontWidth(float newValue)
- {
- static BYTE parms[] =
- VTS_R4;
- InvokeHelper(0x54, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- newValue);
- }
- CString CMSFlexGrid::GetCellFontName()
- {
- CString result;
- InvokeHelper(0x4d, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- void CMSFlexGrid::SetCellFontName(LPCTSTR lpszNewValue)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x4d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- lpszNewValue);
- }
- float CMSFlexGrid::GetCellFontSize()
- {
- float result;
- InvokeHelper(0x4e, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
- return result;
- }
- void CMSFlexGrid::SetCellFontSize(float newValue)
- {
- static BYTE parms[] =
- VTS_R4;
- InvokeHelper(0x4e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- newValue);
- }
- BOOL CMSFlexGrid::GetCellFontBold()
- {
- BOOL result;
- InvokeHelper(0x4f, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void CMSFlexGrid::SetCellFontBold(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x4f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- BOOL CMSFlexGrid::GetCellFontItalic()
- {
- BOOL result;
- InvokeHelper(0x50, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void CMSFlexGrid::SetCellFontItalic(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x50, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- BOOL CMSFlexGrid::GetCellFontUnderline()
- {
- BOOL result;
- InvokeHelper(0x51, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void CMSFlexGrid::SetCellFontUnderline(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x51, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- BOOL CMSFlexGrid::GetCellFontStrikeThrough()
- {
- BOOL result;
- InvokeHelper(0x52, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void CMSFlexGrid::SetCellFontStrikeThrough(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x52, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- float CMSFlexGrid::GetCellFontWidth()
- {
- float result;
- InvokeHelper(0x53, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
- return result;
- }
- void CMSFlexGrid::SetCellFontWidth(float newValue)
- {
- static BYTE parms[] =
- VTS_R4;
- InvokeHelper(0x53, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- newValue);
- }
- long CMSFlexGrid::GetTextStyle()
- {
- long result;
- InvokeHelper(0x14, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CMSFlexGrid::SetTextStyle(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x14, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- long CMSFlexGrid::GetTextStyleFixed()
- {
- long result;
- InvokeHelper(0x15, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CMSFlexGrid::SetTextStyleFixed(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x15, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- BOOL CMSFlexGrid::GetScrollTrack()
- {
- BOOL result;
- InvokeHelper(0x16, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void CMSFlexGrid::SetScrollTrack(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x16, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- long CMSFlexGrid::GetFocusRect()
- {
- long result;
- InvokeHelper(0x17, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CMSFlexGrid::SetFocusRect(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x17, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- long CMSFlexGrid::GetHighLight()
- {
- long result;
- InvokeHelper(0x18, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CMSFlexGrid::SetHighLight(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x18, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- BOOL CMSFlexGrid::GetRedraw()
- {
- BOOL result;
- InvokeHelper(0x19, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void CMSFlexGrid::SetRedraw(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x19, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- long CMSFlexGrid::GetScrollBars()
- {
- long result;
- InvokeHelper(0x1a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CMSFlexGrid::SetScrollBars(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x1a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- long CMSFlexGrid::GetMouseRow()
- {
- long result;
- InvokeHelper(0x1b, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- long CMSFlexGrid::GetMouseCol()
- {
- long result;
- InvokeHelper(0x1c, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- long CMSFlexGrid::GetCellLeft()
- {
- long result;
- InvokeHelper(0x1d, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- long CMSFlexGrid::GetCellTop()
- {
- long result;
- InvokeHelper(0x1e, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- long CMSFlexGrid::GetCellWidth()
- {
- long result;
- InvokeHelper(0x1f, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- long CMSFlexGrid::GetCellHeight()
- {
- long result;
- InvokeHelper(0x20, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- long CMSFlexGrid::GetRowHeightMin()
- {
- long result;
- InvokeHelper(0x21, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CMSFlexGrid::SetRowHeightMin(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x21, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- long CMSFlexGrid::GetFillStyle()
- {
- long result;
- InvokeHelper(0xfffffe01, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CMSFlexGrid::SetFillStyle(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0xfffffe01, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- long CMSFlexGrid::GetGridLines()
- {
- long result;
- InvokeHelper(0x22, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CMSFlexGrid::SetGridLines(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x22, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- long CMSFlexGrid::GetGridLinesFixed()
- {
- long result;
- InvokeHelper(0x23, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CMSFlexGrid::SetGridLinesFixed(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x23, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- unsigned long CMSFlexGrid::GetGridColor()
- {
- unsigned long result;
- InvokeHelper(0x24, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CMSFlexGrid::SetGridColor(unsigned long newValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x24, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- newValue);
- }
- unsigned long CMSFlexGrid::GetGridColorFixed()
- {
- unsigned long result;
- InvokeHelper(0x25, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CMSFlexGrid::SetGridColorFixed(unsigned long newValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x25, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- newValue);
- }
- unsigned long CMSFlexGrid::GetCellBackColor()
- {
- unsigned long result;
- InvokeHelper(0x26, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CMSFlexGrid::SetCellBackColor(unsigned long newValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x26, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- newValue);
- }
- unsigned long CMSFlexGrid::GetCellForeColor()
- {
- unsigned long result;
- InvokeHelper(0x27, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CMSFlexGrid::SetCellForeColor(unsigned long newValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x27, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- newValue);
- }
- short CMSFlexGrid::GetCellAlignment()
- {
- short result;
- InvokeHelper(0x28, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, NULL);
- return result;
- }
- void CMSFlexGrid::SetCellAlignment(short nNewValue)
- {
- static BYTE parms[] =
- VTS_I2;
- InvokeHelper(0x28, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- long CMSFlexGrid::GetCellTextStyle()
- {
- long result;
- InvokeHelper(0x29, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CMSFlexGrid::SetCellTextStyle(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x29, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- short CMSFlexGrid::GetCellPictureAlignment()
- {
- short result;
- InvokeHelper(0x2b, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, NULL);
- return result;
- }
- void CMSFlexGrid::SetCellPictureAlignment(short nNewValue)
- {
- static BYTE parms[] =
- VTS_I2;
- InvokeHelper(0x2b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- CString CMSFlexGrid::GetClip()
- {
- CString result;
- InvokeHelper(0x2d, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- void CMSFlexGrid::SetClip(LPCTSTR lpszNewValue)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x2d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- lpszNewValue);
- }
- void CMSFlexGrid::SetSort(short nNewValue)
- {
- static BYTE parms[] =
- VTS_I2;
- InvokeHelper(0x2e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- long CMSFlexGrid::GetSelectionMode()
- {
- long result;
- InvokeHelper(0x2f, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CMSFlexGrid::SetSelectionMode(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x2f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- long CMSFlexGrid::GetMergeCells()
- {
- long result;
- InvokeHelper(0x30, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CMSFlexGrid::SetMergeCells(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x30, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- BOOL CMSFlexGrid::GetAllowBigSelection()
- {
- BOOL result;
- InvokeHelper(0x33, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void CMSFlexGrid::SetAllowBigSelection(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x33, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- long CMSFlexGrid::GetAllowUserResizing()
- {
- long result;
- InvokeHelper(0x34, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CMSFlexGrid::SetAllowUserResizing(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x34, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- long CMSFlexGrid::GetBorderStyle()
- {
- long result;
- InvokeHelper(DISPID_BORDERSTYLE, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CMSFlexGrid::SetBorderStyle(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(DISPID_BORDERSTYLE, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- long CMSFlexGrid::GetHWnd()
- {
- long result;
- InvokeHelper(DISPID_HWND, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- BOOL CMSFlexGrid::GetEnabled()
- {
- BOOL result;
- InvokeHelper(DISPID_ENABLED, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void CMSFlexGrid::SetEnabled(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(DISPID_ENABLED, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- long CMSFlexGrid::GetAppearance()
- {
- long result;
- InvokeHelper(DISPID_APPEARANCE, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CMSFlexGrid::SetAppearance(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(DISPID_APPEARANCE, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- long CMSFlexGrid::GetMousePointer()
- {
- long result;
- InvokeHelper(0x35, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CMSFlexGrid::SetMousePointer(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x35, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- CPicture CMSFlexGrid::GetMouseIcon()
- {
- LPDISPATCH pDispatch;
- InvokeHelper(0x36, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
- return CPicture(pDispatch);
- }
- void CMSFlexGrid::SetRefMouseIcon(LPDISPATCH newValue)
- {
- static BYTE parms[] =
- VTS_DISPATCH;
- InvokeHelper(0x36, DISPATCH_PROPERTYPUTREF, VT_EMPTY, NULL, parms,
- newValue);
- }
- long CMSFlexGrid::GetPictureType()
- {
- long result;
- InvokeHelper(0x32, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CMSFlexGrid::SetPictureType(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x32, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- CPicture CMSFlexGrid::GetPicture()
- {
- LPDISPATCH pDispatch;
- InvokeHelper(0x31, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
- return CPicture(pDispatch);
- }
- CPicture CMSFlexGrid::GetCellPicture()
- {
- LPDISPATCH pDispatch;
- InvokeHelper(0x2a, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
- return CPicture(pDispatch);
- }
- void CMSFlexGrid::SetRefCellPicture(LPDISPATCH newValue)
- {
- static BYTE parms[] =
- VTS_DISPATCH;
- InvokeHelper(0x2a, DISPATCH_PROPERTYPUTREF, VT_EMPTY, NULL, parms,
- newValue);
- }
- CString CMSFlexGrid::GetTextArray(long index)
- {
- CString result;
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x37, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, parms,
- index);
- return result;
- }
- void CMSFlexGrid::SetTextArray(long index, LPCTSTR lpszNewValue)
- {
- static BYTE parms[] =
- VTS_I4 VTS_BSTR;
- InvokeHelper(0x37, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- index, lpszNewValue);
- }
- short CMSFlexGrid::GetColAlignment(long index)
- {
- short result;
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x38, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, parms,
- index);
- return result;
- }
- void CMSFlexGrid::SetColAlignment(long index, short nNewValue)
- {
- static BYTE parms[] =
- VTS_I4 VTS_I2;
- InvokeHelper(0x38, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- index, nNewValue);
- }
- long CMSFlexGrid::GetColWidth(long index)
- {
- long result;
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x39, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
- index);
- return result;
- }
- void CMSFlexGrid::SetColWidth(long index, long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4 VTS_I4;
- InvokeHelper(0x39, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- index, nNewValue);
- }
- long CMSFlexGrid::GetRowHeight(long index)
- {
- long result;
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x3a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
- index);
- return result;
- }
- void CMSFlexGrid::SetRowHeight(long index, long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4 VTS_I4;
- InvokeHelper(0x3a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- index, nNewValue);
- }
- BOOL CMSFlexGrid::GetMergeRow(long index)
- {
- BOOL result;
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x3b, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, parms,
- index);
- return result;
- }
- void CMSFlexGrid::SetMergeRow(long index, BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_I4 VTS_BOOL;
- InvokeHelper(0x3b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- index, bNewValue);
- }
- BOOL CMSFlexGrid::GetMergeCol(long index)
- {
- BOOL result;
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x3c, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, parms,
- index);
- return result;
- }
- void CMSFlexGrid::SetMergeCol(long index, BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_I4 VTS_BOOL;
- InvokeHelper(0x3c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- index, bNewValue);
- }
- void CMSFlexGrid::SetRowPosition(long index, long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4 VTS_I4;
- InvokeHelper(0x3d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- index, nNewValue);
- }
- void CMSFlexGrid::SetColPosition(long index, long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4 VTS_I4;
- InvokeHelper(0x3e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- index, nNewValue);
- }
- long CMSFlexGrid::GetRowData(long index)
- {
- long result;
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x3f, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
- index);
- return result;
- }
- void CMSFlexGrid::SetRowData(long index, long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4 VTS_I4;
- InvokeHelper(0x3f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- index, nNewValue);
- }
- long CMSFlexGrid::GetColData(long index)
- {
- long result;
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x40, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
- index);
- return result;
- }
- void CMSFlexGrid::SetColData(long index, long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4 VTS_I4;
- InvokeHelper(0x40, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- index, nNewValue);
- }
- CString CMSFlexGrid::GetTextMatrix(long Row, long Col)
- {
- CString result;
- static BYTE parms[] =
- VTS_I4 VTS_I4;
- InvokeHelper(0x41, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, parms,
- Row, Col);
- return result;
- }
- void CMSFlexGrid::SetTextMatrix(long Row, long Col, LPCTSTR lpszNewValue)
- {
- static BYTE parms[] =
- VTS_I4 VTS_I4 VTS_BSTR;
- InvokeHelper(0x41, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- Row, Col, lpszNewValue);
- }
- void CMSFlexGrid::AddItem(LPCTSTR Item, const VARIANT& index)
- {
- static BYTE parms[] =
- VTS_BSTR VTS_VARIANT;
- InvokeHelper(0x42, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- Item, &index);
- }
- void CMSFlexGrid::RemoveItem(long index)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x43, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- index);
- }
- void CMSFlexGrid::Clear()
- {
- InvokeHelper(0x44, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void CMSFlexGrid::Refresh()
- {
- InvokeHelper(DISPID_REFRESH, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- CRowCursor CMSFlexGrid::GetDataSource()
- {
- LPDISPATCH pDispatch;
- InvokeHelper(0x4c, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
- return CRowCursor(pDispatch);
- }
- void CMSFlexGrid::SetDataSource(LPDISPATCH newValue)
- {
- static BYTE parms[] =
- VTS_DISPATCH;
- InvokeHelper(0x4c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- newValue);
- }
- BOOL CMSFlexGrid::GetRowIsVisible(long index)
- {
- BOOL result;
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x55, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, parms,
- index);
- return result;
- }
- BOOL CMSFlexGrid::GetColIsVisible(long index)
- {
- BOOL result;
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x56, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, parms,
- index);
- return result;
- }
- long CMSFlexGrid::GetRowPos(long index)
- {
- long result;
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x57, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
- index);
- return result;
- }
- long CMSFlexGrid::GetColPos(long index)
- {
- long result;
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x58, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
- index);
- return result;
- }
- short CMSFlexGrid::GetGridLineWidth()
- {
- short result;
- InvokeHelper(0x59, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, NULL);
- return result;
- }
- void CMSFlexGrid::SetGridLineWidth(short nNewValue)
- {
- static BYTE parms[] =
- VTS_I2;
- InvokeHelper(0x59, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- short CMSFlexGrid::GetFixedAlignment(long index)
- {
- short result;
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x5a, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, parms,
- index);
- return result;
- }
- void CMSFlexGrid::SetFixedAlignment(long index, short nNewValue)
- {
- static BYTE parms[] =
- VTS_I4 VTS_I2;
- InvokeHelper(0x5a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- index, nNewValue);
- }
- BOOL CMSFlexGrid::GetRightToLeft()
- {
- BOOL result;
- InvokeHelper(0xfffffd9d, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void CMSFlexGrid::SetRightToLeft(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0xfffffd9d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- long CMSFlexGrid::GetOLEDropMode()
- {
- long result;
- InvokeHelper(0x60f, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CMSFlexGrid::SetOLEDropMode(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x60f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- void CMSFlexGrid::OLEDrag()
- {
- InvokeHelper(0x610, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }