Click here to Skip to main content
12,255,255 members (58,623 online)
Click here to Skip to main content


50 bookmarked

Using MatLab Add-in for MS Visual Studio 6

, 4 Jul 2003 CPOL
How to Use the MatLab Add-in for MSVC++ 6
#if !defined(AFX_VCDATAGRID_H__EBEF2796_0DCB_4A78_BD50_16BEC22841A2__INCLUDED_)
#define AFX_VCDATAGRID_H__EBEF2796_0DCB_4A78_BD50_16BEC22841A2__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// 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.

// CVcDataGrid wrapper class

class CVcDataGrid : public COleDispatchDriver
	CVcDataGrid() {}		// Calls COleDispatchDriver default constructor
	CVcDataGrid(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
	CVcDataGrid(const CVcDataGrid& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}

// Attributes

// Operations
	short GetColumnCount();
	void SetColumnCount(short nNewValue);
	short GetColumnLabelCount();
	void SetColumnLabelCount(short nNewValue);
	short GetRowLabelCount();
	void SetRowLabelCount(short nNewValue);
	short GetRowCount();
	void SetRowCount(short nNewValue);
	void DeleteColumns(short Column, short Count);
	void InsertColumns(short Column, short Count);
	void DeleteColumnLabels(short LabelIndex, short Count);
	void InsertColumnLabels(short LabelIndex, short Count);
	void DeleteRows(short Row, short Count);
	void InsertRows(short Row, short Count);
	void DeleteRowLabels(short LabelIndex, short Count);
	void InsertRowLabels(short LabelIndex, short Count);
	void RandomDataFill();
	void SetSize(short RowLabelCount, short ColumnLabelCount, short DataRowCount, short DataColumnCount);
	void InitializeLabels();
	void RandomFillColumns(short Column, short Count);
	void RandomFillRows(short Row, short Count);
	void MoveData(short Top, short Left, short Bottom, short Right, short OverOffset, short DownOffset);
	void GetData(short Row, short Column, double* DataPoint, short* nullFlag);
	void SetData(short Row, short Column, double DataPoint, short nullFlag);
	CString GetColumnLabel(short Column, short LabelIndex);
	void SetColumnLabel(short Column, short LabelIndex, LPCTSTR lpszNewValue);
	CString GetCompositeColumnLabel(short Column);
	CString GetCompositeRowLabel(short Row);
	CString GetRowLabel(short Row, short LabelIndex);
	void SetRowLabel(short Row, short LabelIndex, LPCTSTR lpszNewValue);

// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_VCDATAGRID_H__EBEF2796_0DCB_4A78_BD50_16BEC22841A2__INCLUDED_)

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Software Developer Motorola
United States United States
Daniel Cespedes is now working on his final project to get the Electrical Engineering degree at the National University of Technology in Cordoba Argentina. He is developing a Computerized system for the study of Human Echolocation, the ability to detect obstacles with the echoes of self generated sounds.(yes like bats!!) at the CINTRA (Centro de Investigación y Transferencia Acústica).He uses MsVisual C++ 6 as a developing tool. He also work at the Software Research Lab at the University.
He comes from Sta.Cruz de la Sierra-Bolivia a paradise in SouthAmerica´s heart, where you can find pure air, nature contact, happy people, beautiful women etc.

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.160426.1 | Last Updated 5 Jul 2003
Article Copyright 2003 by Cambalindo
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid