home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / mfc / database / bindenrl / rdc.h < prev    next >
C/C++ Source or Header  |  1998-03-26  |  4KB  |  124 lines

  1. #ifndef __RDC_H__
  2. #define __RDC_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. // CRdc wrapper class
  11.  
  12. class CRdc : public CWnd
  13. {
  14. protected:
  15.     DECLARE_DYNCREATE(CRdc)
  16. public:
  17.     CLSID const& GetClsid()
  18.     {
  19.         static CLSID const clsid
  20.             = { 0x43478d73, 0x78e0, 0x11cf, { 0x8e, 0x78, 0x0, 0xa0, 0xd1, 0x0, 0x3, 0x8e } };
  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.     CString GetDataSourceName();
  43.     void SetDataSourceName(LPCTSTR lpszNewValue);
  44.     CString GetSql();
  45.     void SetSql(LPCTSTR lpszNewValue);
  46.     long GetLoginTimeout();
  47.     void SetLoginTimeout(long nNewValue);
  48.     CString GetVersion();
  49.     CString GetConnect();
  50.     void SetConnect(LPCTSTR lpszNewValue);
  51.     long GetQueryTimeout();
  52.     void SetQueryTimeout(long nNewValue);
  53.     long GetRowsetSize();
  54.     void SetRowsetSize(long nNewValue);
  55.     long GetResultsetType();
  56.     void SetResultsetType(long nNewValue);
  57.     long GetMaxRows();
  58.     void SetMaxRows(long nNewValue);
  59.     CString GetLogMessages();
  60.     void SetLogMessages(LPCTSTR lpszNewValue);
  61.     long GetKeysetSize();
  62.     void SetKeysetSize(long nNewValue);
  63.     short GetEditMode();
  64.     void SetEditMode(short nNewValue);
  65.     BOOL GetEnabled();
  66.     void SetEnabled(BOOL bNewValue);
  67.     LPDISPATCH GetResultset();
  68.     void SetRefResultset(LPDISPATCH newValue);
  69.     BOOL GetReadOnly();
  70.     void SetReadOnly(BOOL bNewValue);
  71.     short GetOptions();
  72.     void SetOptions(short nNewValue);
  73.     CString GetUserName_();
  74.     void SetUserName(LPCTSTR lpszNewValue);
  75.     CString GetPassword();
  76.     void SetPassword(LPCTSTR lpszNewValue);
  77.     long GetCursorDriver();
  78.     void SetCursorDriver(long nNewValue);
  79.     LPDISPATCH GetFont();
  80.     void SetRefFont(LPDISPATCH newValue);
  81.     LPDISPATCH GetConnection();
  82.     void SetRefConnection(LPDISPATCH newValue);
  83.     long GetEOFAction();
  84.     void SetEOFAction(long nNewValue);
  85.     long GetBOFAction();
  86.     void SetBOFAction(long nNewValue);
  87.     long GetErrorThreshold();
  88.     void SetErrorThreshold(long nNewValue);
  89.     long GetLockType();
  90.     void SetLockType(long nNewValue);
  91.     long GetPrompt();
  92.     void SetPrompt(long nNewValue);
  93.     long GetAppearance();
  94.     void SetAppearance(long nNewValue);
  95.     LPDISPATCH GetEnvironment();
  96.     void SetRefEnvironment(LPDISPATCH newValue);
  97.     CString GetCaption();
  98.     void SetCaption(LPCTSTR lpszNewValue);
  99.     unsigned long GetBackColor();
  100.     void SetBackColor(unsigned long newValue);
  101.     unsigned long GetForeColor();
  102.     void SetForeColor(unsigned long newValue);
  103.     long GetBatchCollisionCount();
  104.     VARIANT GetBatchCollisionRows();
  105.     long GetBatchSize();
  106.     void SetBatchSize(long nNewValue);
  107.     short GetUpdateOperation();
  108.     void SetUpdateOperation(short nNewValue);
  109.     short GetUpdateCriteria();
  110.     void SetUpdateCriteria(short nNewValue);
  111.     void UpdateControls();
  112.     void UpdateRow();
  113.     void BeginTrans();
  114.     void CommitTrans();
  115.     void RollbackTrans();
  116.     void Cancel();
  117.     void Refresh();
  118. };
  119.  
  120. //{{AFX_INSERT_LOCATION}}
  121. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  122.  
  123. #endif // __RDC_H__
  124.