12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307 |
- // 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);
- }
- COleFont CMSFlexGrid::GetFont()
- {
- LPDISPATCH pDispatch;
- InvokeHelper(DISPID_FONT, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
- return COleFont(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);
- }
|