home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 32 / IOPROG_32.ISO / SOFT / SqlEval7 / devtools / samples / ODBC / mfcperf / msflexgr.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-05-20  |  7.7 KB  |  230 lines

  1. #ifndef __MSFLEXGRID_H__
  2. #define __MSFLEXGRID_H__
  3.  
  4. // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
  5.  
  6. // NOTE: Do not modify the contents of this file.  If this class is regenerated by
  7. //  Microsoft Visual C++, your modifications will be overwritten.
  8.  
  9. /////////////////////////////////////////////////////////////////////////////
  10. // CMSFlexGrid wrapper class
  11.  
  12. class CMSFlexGrid : public CWnd
  13. {
  14. protected:
  15.     DECLARE_DYNCREATE(CMSFlexGrid)
  16. public:
  17.     CLSID const& GetClsid()
  18.     {
  19.         static CLSID const clsid
  20.             = { 0x6262d3a0, 0x531b, 0x11cf, { 0x91, 0xf6, 0xc2, 0x86, 0x3c, 0x38, 0x5e, 0x30 } };
  21.         return clsid;
  22.     }
  23.     virtual BOOL Create(LPCTSTR lpszClassName,
  24.         LPCTSTR lpszWindowName, DWORD dwStyle,
  25.         const RECT& rect,
  26.         CWnd* pParentWnd, UINT nID,
  27.         CCreateContext* pContext = NULL)
  28.     { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }
  29.  
  30.     BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
  31.         const RECT& rect, CWnd* pParentWnd, UINT nID,
  32.         CFile* pPersist = NULL, BOOL bStorage = FALSE,
  33.         BSTR bstrLicKey = NULL)
  34.     { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
  35.         pPersist, bStorage, bstrLicKey); }
  36.  
  37. // Attributes
  38. public:
  39.  
  40. // Operations
  41. public:
  42.     // method 'QueryInterface' not emitted because of invalid return type or parameter type
  43.     unsigned long AddRef();
  44.     unsigned long Release();
  45.     // method 'GetTypeInfoCount' not emitted because of invalid return type or parameter type
  46.     // method 'GetTypeInfo' not emitted because of invalid return type or parameter type
  47.     // method 'GetIDsOfNames' not emitted because of invalid return type or parameter type
  48.     // method 'Invoke' not emitted because of invalid return type or parameter type
  49.     long GetRows();
  50.     void SetRows(long nNewValue);
  51.     long GetCols();
  52.     void SetCols(long nNewValue);
  53.     long GetFixedRows();
  54.     void SetFixedRows(long nNewValue);
  55.     long GetFixedCols();
  56.     void SetFixedCols(long nNewValue);
  57.     short GetVersion();
  58.     CString GetFormatString();
  59.     void SetFormatString(LPCTSTR lpszNewValue);
  60.     long GetTopRow();
  61.     void SetTopRow(long nNewValue);
  62.     long GetLeftCol();
  63.     void SetLeftCol(long nNewValue);
  64.     long GetRow();
  65.     void SetRow(long nNewValue);
  66.     long GetCol();
  67.     void SetCol(long nNewValue);
  68.     long GetRowSel();
  69.     void SetRowSel(long nNewValue);
  70.     long GetColSel();
  71.     void SetColSel(long nNewValue);
  72.     CString GetText();
  73.     void SetText(LPCTSTR lpszNewValue);
  74.     unsigned long GetBackColor();
  75.     void SetBackColor(unsigned long newValue);
  76.     unsigned long GetForeColor();
  77.     void SetForeColor(unsigned long newValue);
  78.     unsigned long GetBackColorFixed();
  79.     void SetBackColorFixed(unsigned long newValue);
  80.     unsigned long GetForeColorFixed();
  81.     void SetForeColorFixed(unsigned long newValue);
  82.     unsigned long GetBackColorSel();
  83.     void SetBackColorSel(unsigned long newValue);
  84.     unsigned long GetForeColorSel();
  85.     void SetForeColorSel(unsigned long newValue);
  86.     unsigned long GetBackColorBkg();
  87.     void SetBackColorBkg(unsigned long newValue);
  88.     BOOL GetWordWrap();
  89.     void SetWordWrap(BOOL bNewValue);
  90.     LPDISPATCH GetFont();
  91.     void SetFont(LPDISPATCH newValue);
  92.     float GetFontWidth();
  93.     void SetFontWidth(float newValue);
  94.     CString GetCellFontName();
  95.     void SetCellFontName(LPCTSTR lpszNewValue);
  96.     float GetCellFontSize();
  97.     void SetCellFontSize(float newValue);
  98.     BOOL GetCellFontBold();
  99.     void SetCellFontBold(BOOL bNewValue);
  100.     BOOL GetCellFontItalic();
  101.     void SetCellFontItalic(BOOL bNewValue);
  102.     BOOL GetCellFontUnderline();
  103.     void SetCellFontUnderline(BOOL bNewValue);
  104.     BOOL GetCellFontStrikeThrough();
  105.     void SetCellFontStrikeThrough(BOOL bNewValue);
  106.     float GetCellFontWidth();
  107.     void SetCellFontWidth(float newValue);
  108.     long GetTextStyle();
  109.     void SetTextStyle(long nNewValue);
  110.     long GetTextStyleFixed();
  111.     void SetTextStyleFixed(long nNewValue);
  112.     BOOL GetScrollTrack();
  113.     void SetScrollTrack(BOOL bNewValue);
  114.     long GetFocusRect();
  115.     void SetFocusRect(long nNewValue);
  116.     long GetHighLight();
  117.     void SetHighLight(long nNewValue);
  118.     BOOL GetRedraw();
  119.     void SetRedraw(BOOL bNewValue);
  120.     long GetScrollBars();
  121.     void SetScrollBars(long nNewValue);
  122.     long GetMouseRow();
  123.     long GetMouseCol();
  124.     long GetCellLeft();
  125.     long GetCellTop();
  126.     long GetCellWidth();
  127.     long GetCellHeight();
  128.     long GetRowHeightMin();
  129.     void SetRowHeightMin(long nNewValue);
  130.     long GetFillStyle();
  131.     void SetFillStyle(long nNewValue);
  132.     long GetGridLines();
  133.     void SetGridLines(long nNewValue);
  134.     long GetGridLinesFixed();
  135.     void SetGridLinesFixed(long nNewValue);
  136.     unsigned long GetGridColor();
  137.     void SetGridColor(unsigned long newValue);
  138.     unsigned long GetGridColorFixed();
  139.     void SetGridColorFixed(unsigned long newValue);
  140.     unsigned long GetCellBackColor();
  141.     void SetCellBackColor(unsigned long newValue);
  142.     unsigned long GetCellForeColor();
  143.     void SetCellForeColor(unsigned long newValue);
  144.     short GetCellAlignment();
  145.     void SetCellAlignment(short nNewValue);
  146.     long GetCellTextStyle();
  147.     void SetCellTextStyle(long nNewValue);
  148.     short GetCellPictureAlignment();
  149.     void SetCellPictureAlignment(short nNewValue);
  150.     CString GetClip();
  151.     void SetClip(LPCTSTR lpszNewValue);
  152.     void SetSort(short nNewValue);
  153.     long GetSelectionMode();
  154.     void SetSelectionMode(long nNewValue);
  155.     long GetMergeCells();
  156.     void SetMergeCells(long nNewValue);
  157.     BOOL GetAllowBigSelection();
  158.     void SetAllowBigSelection(BOOL bNewValue);
  159.     long GetAllowUserResizing();
  160.     void SetAllowUserResizing(long nNewValue);
  161.     long GetBorderStyle();
  162.     void SetBorderStyle(long nNewValue);
  163.     long GetHWnd();
  164.     BOOL GetEnabled();
  165.     void SetEnabled(BOOL bNewValue);
  166.     long GetAppearance();
  167.     void SetAppearance(long nNewValue);
  168.     long GetMousePointer();
  169.     void SetMousePointer(long nNewValue);
  170.     LPDISPATCH GetMouseIcon();
  171.     void SetMouseIcon(LPDISPATCH newValue);
  172.     long GetPictureType();
  173.     void SetPictureType(long nNewValue);
  174.     LPDISPATCH GetPicture();
  175.     LPDISPATCH GetCellPicture();
  176.     void SetCellPicture(LPDISPATCH newValue);
  177.     void AboutBox();
  178.     CString GetTextArray(long index);
  179.     void SetTextArray(long index, LPCTSTR lpszNewValue);
  180.     short GetColAlignment(long index);
  181.     void SetColAlignment(long index, short nNewValue);
  182.     long GetColWidth(long index);
  183.     void SetColWidth(long index, long nNewValue);
  184.     long GetRowHeight(long index);
  185.     void SetRowHeight(long index, long nNewValue);
  186.     BOOL GetMergeRow(long index);
  187.     void SetMergeRow(long index, BOOL bNewValue);
  188.     BOOL GetMergeCol(long index);
  189.     void SetMergeCol(long index, BOOL bNewValue);
  190.     void SetRowPosition(long index, long nNewValue);
  191.     void SetColPosition(long index, long nNewValue);
  192.     long GetRowData(long index);
  193.     void SetRowData(long index, long nNewValue);
  194.     long GetColData(long index);
  195.     void SetColData(long index, long nNewValue);
  196.     CString GetTextMatrix(long Row, long Col);
  197.     void SetTextMatrix(long Row, long Col, LPCTSTR lpszNewValue);
  198.     void AddItem(LPCTSTR Item, const VARIANT& index);
  199.     void RemoveItem(long index);
  200.     void Clear();
  201.     void Refresh();
  202.     LPDISPATCH GetDataSource();
  203.     void SetDataSource(LPDISPATCH newValue);
  204.     BOOL GetRowIsVisible(long index);
  205.     BOOL GetColIsVisible(long index);
  206.     long GetRowPos(long index);
  207.     long GetColPos(long index);
  208.     short GetGridLineWidth();
  209.     void SetGridLineWidth(short nNewValue);
  210.     short GetFixedAlignment(long index);
  211.     void SetFixedAlignment(long index, short nNewValue);
  212.     CString GetFontName();
  213.     void SetFontName(LPCTSTR lpszNewValue);
  214.     float GetFontSize();
  215.     void SetFontSize(float newValue);
  216.     BOOL GetFontBold();
  217.     void SetFontBold(BOOL bNewValue);
  218.     BOOL GetFontItalic();
  219.     void SetFontItalic(BOOL bNewValue);
  220.     BOOL GetFontStrikethru();
  221.     void SetFontStrikethru(BOOL bNewValue);
  222.     BOOL GetFontUnderline();
  223.     void SetFontUnderline(BOOL bNewValue);
  224.     long GetOLEDropMode();
  225.     void SetOLEDropMode(long nNewValue);
  226.     void OLEDrag();
  227. };
  228.  
  229. #endif // __MSFLEXGRID_H__
  230.