MSChart.cpp 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685
  1. // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
  2. // NOTE: Do not modify the contents of this file. If this class is regenerated by
  3. // Microsoft Visual C++, your modifications will be overwritten.
  4. #include "stdafx.h"
  5. #include "mschart.h"
  6. // Dispatch interfaces referenced by this interface
  7. #include "vctitle.h"
  8. #include "vcfootnote.h"
  9. #include "vcbackdrop.h"
  10. #include "vclegend.h"
  11. #include "vcdatagrid.h"
  12. #include "vcplot.h"
  13. #include "vcbrush.h"
  14. /////////////////////////////////////////////////////////////////////////////
  15. // CMSChart
  16. IMPLEMENT_DYNCREATE(CMSChart, CWnd)
  17. /////////////////////////////////////////////////////////////////////////////
  18. // CMSChart properties
  19. /////////////////////////////////////////////////////////////////////////////
  20. // CMSChart operations
  21. BOOL CMSChart::GetAutoIncrement()
  22. {
  23. BOOL result;
  24. InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
  25. return result;
  26. }
  27. void CMSChart::SetAutoIncrement(BOOL bNewValue)
  28. {
  29. static BYTE parms[] =
  30. VTS_BOOL;
  31. InvokeHelper(0x1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  32. bNewValue);
  33. }
  34. BOOL CMSChart::GetRandomFill()
  35. {
  36. BOOL result;
  37. InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
  38. return result;
  39. }
  40. void CMSChart::SetRandomFill(BOOL bNewValue)
  41. {
  42. static BYTE parms[] =
  43. VTS_BOOL;
  44. InvokeHelper(0x2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  45. bNewValue);
  46. }
  47. long CMSChart::GetChartType()
  48. {
  49. long result;
  50. InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  51. return result;
  52. }
  53. void CMSChart::SetChartType(long nNewValue)
  54. {
  55. static BYTE parms[] =
  56. VTS_I4;
  57. InvokeHelper(0x3, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  58. nNewValue);
  59. }
  60. short CMSChart::GetColumn()
  61. {
  62. short result;
  63. InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, NULL);
  64. return result;
  65. }
  66. void CMSChart::SetColumn(short nNewValue)
  67. {
  68. static BYTE parms[] =
  69. VTS_I2;
  70. InvokeHelper(0x4, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  71. nNewValue);
  72. }
  73. short CMSChart::GetColumnCount()
  74. {
  75. short result;
  76. InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, NULL);
  77. return result;
  78. }
  79. void CMSChart::SetColumnCount(short nNewValue)
  80. {
  81. static BYTE parms[] =
  82. VTS_I2;
  83. InvokeHelper(0x5, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  84. nNewValue);
  85. }
  86. CString CMSChart::GetColumnLabel()
  87. {
  88. CString result;
  89. InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
  90. return result;
  91. }
  92. void CMSChart::SetColumnLabel(LPCTSTR lpszNewValue)
  93. {
  94. static BYTE parms[] =
  95. VTS_BSTR;
  96. InvokeHelper(0x6, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  97. lpszNewValue);
  98. }
  99. short CMSChart::GetColumnLabelCount()
  100. {
  101. short result;
  102. InvokeHelper(0x7, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, NULL);
  103. return result;
  104. }
  105. void CMSChart::SetColumnLabelCount(short nNewValue)
  106. {
  107. static BYTE parms[] =
  108. VTS_I2;
  109. InvokeHelper(0x7, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  110. nNewValue);
  111. }
  112. short CMSChart::GetColumnLabelIndex()
  113. {
  114. short result;
  115. InvokeHelper(0x8, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, NULL);
  116. return result;
  117. }
  118. void CMSChart::SetColumnLabelIndex(short nNewValue)
  119. {
  120. static BYTE parms[] =
  121. VTS_I2;
  122. InvokeHelper(0x8, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  123. nNewValue);
  124. }
  125. CString CMSChart::GetData()
  126. {
  127. CString result;
  128. InvokeHelper(0x9, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
  129. return result;
  130. }
  131. void CMSChart::SetData(LPCTSTR lpszNewValue)
  132. {
  133. static BYTE parms[] =
  134. VTS_BSTR;
  135. InvokeHelper(0x9, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  136. lpszNewValue);
  137. }
  138. CString CMSChart::GetFootnoteText()
  139. {
  140. CString result;
  141. InvokeHelper(0xa, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
  142. return result;
  143. }
  144. void CMSChart::SetFootnoteText(LPCTSTR lpszNewValue)
  145. {
  146. static BYTE parms[] =
  147. VTS_BSTR;
  148. InvokeHelper(0xa, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  149. lpszNewValue);
  150. }
  151. BOOL CMSChart::GetRepaint()
  152. {
  153. BOOL result;
  154. InvokeHelper(0xb, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
  155. return result;
  156. }
  157. void CMSChart::SetRepaint(BOOL bNewValue)
  158. {
  159. static BYTE parms[] =
  160. VTS_BOOL;
  161. InvokeHelper(0xb, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  162. bNewValue);
  163. }
  164. short CMSChart::GetRow()
  165. {
  166. short result;
  167. InvokeHelper(0xc, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, NULL);
  168. return result;
  169. }
  170. void CMSChart::SetRow(short nNewValue)
  171. {
  172. static BYTE parms[] =
  173. VTS_I2;
  174. InvokeHelper(0xc, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  175. nNewValue);
  176. }
  177. short CMSChart::GetRowCount()
  178. {
  179. short result;
  180. InvokeHelper(0xd, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, NULL);
  181. return result;
  182. }
  183. void CMSChart::SetRowCount(short nNewValue)
  184. {
  185. static BYTE parms[] =
  186. VTS_I2;
  187. InvokeHelper(0xd, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  188. nNewValue);
  189. }
  190. CString CMSChart::GetRowLabel()
  191. {
  192. CString result;
  193. InvokeHelper(0xe, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
  194. return result;
  195. }
  196. void CMSChart::SetRowLabel(LPCTSTR lpszNewValue)
  197. {
  198. static BYTE parms[] =
  199. VTS_BSTR;
  200. InvokeHelper(0xe, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  201. lpszNewValue);
  202. }
  203. short CMSChart::GetRowLabelCount()
  204. {
  205. short result;
  206. InvokeHelper(0xf, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, NULL);
  207. return result;
  208. }
  209. void CMSChart::SetRowLabelCount(short nNewValue)
  210. {
  211. static BYTE parms[] =
  212. VTS_I2;
  213. InvokeHelper(0xf, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  214. nNewValue);
  215. }
  216. short CMSChart::GetRowLabelIndex()
  217. {
  218. short result;
  219. InvokeHelper(0x10, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, NULL);
  220. return result;
  221. }
  222. void CMSChart::SetRowLabelIndex(short nNewValue)
  223. {
  224. static BYTE parms[] =
  225. VTS_I2;
  226. InvokeHelper(0x10, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  227. nNewValue);
  228. }
  229. short CMSChart::GetSeriesColumn()
  230. {
  231. short result;
  232. InvokeHelper(0x11, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, NULL);
  233. return result;
  234. }
  235. void CMSChart::SetSeriesColumn(short nNewValue)
  236. {
  237. static BYTE parms[] =
  238. VTS_I2;
  239. InvokeHelper(0x11, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  240. nNewValue);
  241. }
  242. long CMSChart::GetSeriesType()
  243. {
  244. long result;
  245. InvokeHelper(0x12, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  246. return result;
  247. }
  248. void CMSChart::SetSeriesType(long nNewValue)
  249. {
  250. static BYTE parms[] =
  251. VTS_I4;
  252. InvokeHelper(0x12, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  253. nNewValue);
  254. }
  255. BOOL CMSChart::GetShowLegend()
  256. {
  257. BOOL result;
  258. InvokeHelper(0x13, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
  259. return result;
  260. }
  261. void CMSChart::SetShowLegend(BOOL bNewValue)
  262. {
  263. static BYTE parms[] =
  264. VTS_BOOL;
  265. InvokeHelper(0x13, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  266. bNewValue);
  267. }
  268. long CMSChart::GetDrawMode()
  269. {
  270. long result;
  271. InvokeHelper(0x17, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  272. return result;
  273. }
  274. void CMSChart::SetDrawMode(long nNewValue)
  275. {
  276. static BYTE parms[] =
  277. VTS_I4;
  278. InvokeHelper(0x17, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  279. nNewValue);
  280. }
  281. long CMSChart::GetBorderStyle()
  282. {
  283. long result;
  284. InvokeHelper(DISPID_BORDERSTYLE, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  285. return result;
  286. }
  287. void CMSChart::SetBorderStyle(long nNewValue)
  288. {
  289. static BYTE parms[] =
  290. VTS_I4;
  291. InvokeHelper(DISPID_BORDERSTYLE, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  292. nNewValue);
  293. }
  294. BOOL CMSChart::GetEnabled()
  295. {
  296. BOOL result;
  297. InvokeHelper(DISPID_ENABLED, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
  298. return result;
  299. }
  300. void CMSChart::SetEnabled(BOOL bNewValue)
  301. {
  302. static BYTE parms[] =
  303. VTS_BOOL;
  304. InvokeHelper(DISPID_ENABLED, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  305. bNewValue);
  306. }
  307. long CMSChart::GetHWnd()
  308. {
  309. long result;
  310. InvokeHelper(DISPID_HWND, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  311. return result;
  312. }
  313. CVcTitle CMSChart::GetTitle()
  314. {
  315. LPDISPATCH pDispatch;
  316. InvokeHelper(0x1a, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
  317. return CVcTitle(pDispatch);
  318. }
  319. CVcFootnote CMSChart::GetFootnote()
  320. {
  321. LPDISPATCH pDispatch;
  322. InvokeHelper(0x1b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
  323. return CVcFootnote(pDispatch);
  324. }
  325. CString CMSChart::GetTitleText()
  326. {
  327. CString result;
  328. InvokeHelper(0x1c, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
  329. return result;
  330. }
  331. void CMSChart::SetTitleText(LPCTSTR lpszNewValue)
  332. {
  333. static BYTE parms[] =
  334. VTS_BSTR;
  335. InvokeHelper(0x1c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  336. lpszNewValue);
  337. }
  338. BOOL CMSChart::GetStacking()
  339. {
  340. BOOL result;
  341. InvokeHelper(0x1d, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
  342. return result;
  343. }
  344. void CMSChart::SetStacking(BOOL bNewValue)
  345. {
  346. static BYTE parms[] =
  347. VTS_BOOL;
  348. InvokeHelper(0x1d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  349. bNewValue);
  350. }
  351. long CMSChart::GetTextLengthType()
  352. {
  353. long result;
  354. InvokeHelper(0x1e, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  355. return result;
  356. }
  357. void CMSChart::SetTextLengthType(long nNewValue)
  358. {
  359. static BYTE parms[] =
  360. VTS_I4;
  361. InvokeHelper(0x1e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  362. nNewValue);
  363. }
  364. BOOL CMSChart::GetAllowSelections()
  365. {
  366. BOOL result;
  367. InvokeHelper(0x20, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
  368. return result;
  369. }
  370. void CMSChart::SetAllowSelections(BOOL bNewValue)
  371. {
  372. static BYTE parms[] =
  373. VTS_BOOL;
  374. InvokeHelper(0x20, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  375. bNewValue);
  376. }
  377. BOOL CMSChart::GetAllowSeriesSelection()
  378. {
  379. BOOL result;
  380. InvokeHelper(0x21, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
  381. return result;
  382. }
  383. void CMSChart::SetAllowSeriesSelection(BOOL bNewValue)
  384. {
  385. static BYTE parms[] =
  386. VTS_BOOL;
  387. InvokeHelper(0x21, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  388. bNewValue);
  389. }
  390. BOOL CMSChart::GetAllowDynamicRotation()
  391. {
  392. BOOL result;
  393. InvokeHelper(0x22, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
  394. return result;
  395. }
  396. void CMSChart::SetAllowDynamicRotation(BOOL bNewValue)
  397. {
  398. static BYTE parms[] =
  399. VTS_BOOL;
  400. InvokeHelper(0x22, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  401. bNewValue);
  402. }
  403. short CMSChart::GetActiveSeriesCount()
  404. {
  405. short result;
  406. InvokeHelper(0x23, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, NULL);
  407. return result;
  408. }
  409. CVcBackdrop CMSChart::GetBackdrop()
  410. {
  411. LPDISPATCH pDispatch;
  412. InvokeHelper(0x24, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
  413. return CVcBackdrop(pDispatch);
  414. }
  415. CVcLegend CMSChart::GetLegend()
  416. {
  417. LPDISPATCH pDispatch;
  418. InvokeHelper(0x26, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
  419. return CVcLegend(pDispatch);
  420. }
  421. CVcDataGrid CMSChart::GetDataGrid()
  422. {
  423. LPDISPATCH pDispatch;
  424. InvokeHelper(0x27, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
  425. return CVcDataGrid(pDispatch);
  426. }
  427. CVcPlot CMSChart::GetPlot()
  428. {
  429. LPDISPATCH pDispatch;
  430. InvokeHelper(0x28, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
  431. return CVcPlot(pDispatch);
  432. }
  433. BOOL CMSChart::GetAllowDithering()
  434. {
  435. BOOL result;
  436. InvokeHelper(0x2b, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
  437. return result;
  438. }
  439. void CMSChart::SetAllowDithering(BOOL bNewValue)
  440. {
  441. static BYTE parms[] =
  442. VTS_BOOL;
  443. InvokeHelper(0x2b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  444. bNewValue);
  445. }
  446. BOOL CMSChart::GetDoSetCursor()
  447. {
  448. BOOL result;
  449. InvokeHelper(0x2d, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
  450. return result;
  451. }
  452. void CMSChart::SetDoSetCursor(BOOL bNewValue)
  453. {
  454. static BYTE parms[] =
  455. VTS_BOOL;
  456. InvokeHelper(0x2d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  457. bNewValue);
  458. }
  459. BOOL CMSChart::GetChart3d()
  460. {
  461. BOOL result;
  462. InvokeHelper(0x2f, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
  463. return result;
  464. }
  465. VARIANT CMSChart::GetChartData()
  466. {
  467. VARIANT result;
  468. InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
  469. return result;
  470. }
  471. void CMSChart::SetChartData(const VARIANT& newValue)
  472. {
  473. static BYTE parms[] =
  474. VTS_VARIANT;
  475. InvokeHelper(0x0, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  476. &newValue);
  477. }
  478. long CMSChart::GetMousePointer()
  479. {
  480. long result;
  481. InvokeHelper(0x4a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  482. return result;
  483. }
  484. void CMSChart::SetMousePointer(long nNewValue)
  485. {
  486. static BYTE parms[] =
  487. VTS_I4;
  488. InvokeHelper(0x4a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  489. nNewValue);
  490. }
  491. void CMSChart::Refresh()
  492. {
  493. InvokeHelper(DISPID_REFRESH, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
  494. }
  495. void CMSChart::EditPaste()
  496. {
  497. InvokeHelper(0x31, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
  498. }
  499. void CMSChart::EditCopy()
  500. {
  501. InvokeHelper(0x32, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
  502. }
  503. void CMSChart::Layout()
  504. {
  505. InvokeHelper(0x34, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
  506. }
  507. void CMSChart::ToDefaults()
  508. {
  509. InvokeHelper(0x35, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
  510. }
  511. void CMSChart::SelectPart(short part, short index1, short index2, short index3, short index4)
  512. {
  513. static BYTE parms[] =
  514. VTS_I2 VTS_I2 VTS_I2 VTS_I2 VTS_I2;
  515. InvokeHelper(0x38, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
  516. part, index1, index2, index3, index4);
  517. }
  518. void CMSChart::GetSelectedPart(short* part, short* index1, short* index2, short* index3, short* index4)
  519. {
  520. static BYTE parms[] =
  521. VTS_PI2 VTS_PI2 VTS_PI2 VTS_PI2 VTS_PI2;
  522. InvokeHelper(0x39, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
  523. part, index1, index2, index3, index4);
  524. }
  525. void CMSChart::TwipsToChartPart(long xVal, long yVal, short* part, short* index1, short* index2, short* index3, short* index4)
  526. {
  527. static BYTE parms[] =
  528. VTS_I4 VTS_I4 VTS_PI2 VTS_PI2 VTS_PI2 VTS_PI2 VTS_PI2;
  529. InvokeHelper(0x3b, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
  530. xVal, yVal, part, index1, index2, index3, index4);
  531. }
  532. long CMSChart::GetOLEDragMode()
  533. {
  534. long result;
  535. InvokeHelper(0x60e, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  536. return result;
  537. }
  538. void CMSChart::SetOLEDragMode(long nNewValue)
  539. {
  540. static BYTE parms[] =
  541. VTS_I4;
  542. InvokeHelper(0x60e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  543. nNewValue);
  544. }
  545. long CMSChart::GetOLEDropMode()
  546. {
  547. long result;
  548. InvokeHelper(0x60f, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  549. return result;
  550. }
  551. void CMSChart::SetOLEDropMode(long nNewValue)
  552. {
  553. static BYTE parms[] =
  554. VTS_I4;
  555. InvokeHelper(0x60f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  556. nNewValue);
  557. }
  558. void CMSChart::OLEDrag()
  559. {
  560. InvokeHelper(0x610, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
  561. }
  562. LPUNKNOWN CMSChart::GetDataSource()
  563. {
  564. LPUNKNOWN result;
  565. InvokeHelper(0x47, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
  566. return result;
  567. }
  568. void CMSChart::SetRefDataSource(LPUNKNOWN newValue)
  569. {
  570. static BYTE parms[] =
  571. VTS_UNKNOWN;
  572. InvokeHelper(0x47, DISPATCH_PROPERTYPUTREF, VT_EMPTY, NULL, parms,
  573. newValue);
  574. }
  575. CString CMSChart::GetDataMember()
  576. {
  577. CString result;
  578. InvokeHelper(0x4b, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
  579. return result;
  580. }
  581. void CMSChart::SetDataMember(LPCTSTR lpszNewValue)
  582. {
  583. static BYTE parms[] =
  584. VTS_BSTR;
  585. InvokeHelper(0x4b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  586. lpszNewValue);
  587. }