DBLIST.H
资源名称:MSDN_VC98.zip [点击查看]
上传用户:bangxh
上传日期:2007-01-31
资源大小:42235k
文件大小:3k
源码类别:
Windows编程
开发平台:
Visual C++
- #ifndef __DBLIST_H__
- #define __DBLIST_H__
- // 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.
- /////////////////////////////////////////////////////////////////////////////
- // CDBList wrapper class
- class CDBList : public CWnd
- {
- protected:
- DECLARE_DYNCREATE(CDBList)
- public:
- CLSID const& GetClsid()
- {
- static CLSID const clsid
- = { 0x2a69b00, 0x81b, 0x101b, { 0x89, 0x33, 0x8, 0x0, 0x2b, 0x2f, 0x4f, 0x5a } };
- return clsid;
- }
- virtual BOOL Create(LPCTSTR lpszClassName,
- LPCTSTR lpszWindowName, DWORD dwStyle,
- const RECT& rect,
- CWnd* pParentWnd, UINT nID,
- CCreateContext* pContext = NULL)
- { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }
- BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
- const RECT& rect, CWnd* pParentWnd, UINT nID,
- CFile* pPersist = NULL, BOOL bStorage = FALSE,
- BSTR bstrLicKey = NULL)
- { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
- pPersist, bStorage, bstrLicKey); }
- // Attributes
- public:
- // Operations
- public:
- BOOL GetLocked();
- void SetLocked(BOOL bNewValue);
- CString GetBoundText();
- void SetBoundText(LPCTSTR lpszNewValue);
- LPDISPATCH GetRowSource();
- void SetRowSource(LPDISPATCH newValue);
- CString GetBoundColumn();
- void SetBoundColumn(LPCTSTR lpszNewValue);
- long GetMousePointer();
- void SetMousePointer(long nNewValue);
- LPDISPATCH GetMouseIcon();
- void SetMouseIcon(LPDISPATCH newValue);
- void SetRefMouseIcon(LPDISPATCH newValue);
- BOOL GetIntegralHeight();
- void SetIntegralHeight(BOOL bNewValue);
- long GetMatchEntry();
- void SetMatchEntry(long nNewValue);
- VARIANT GetSelectedItem();
- short GetVisibleCount();
- CString GetText();
- void SetText(LPCTSTR lpszNewValue);
- CString GetListField();
- void SetListField(LPCTSTR lpszNewValue);
- LPDISPATCH GetFont();
- void SetRefFont(LPDISPATCH newValue);
- BOOL GetEnabled();
- void SetEnabled(BOOL bNewValue);
- unsigned long GetBackColor();
- void SetBackColor(unsigned long newValue);
- unsigned long GetForeColor();
- void SetForeColor(unsigned long newValue);
- BOOL GetMatchedWithList();
- long GetAppearance();
- void SetAppearance(long nNewValue);
- BOOL GetRightToLeft();
- void SetRightToLeft(BOOL bNewValue);
- long GetHwnd();
- long GetOLEDragMode();
- void SetOLEDragMode(long nNewValue);
- long GetOLEDropMode();
- void SetOLEDropMode(long nNewValue);
- void ReFill();
- VARIANT GetVisibleItems(short nIndex);
- void Refresh();
- void OLEDrag();
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
- #endif // __DBLIST_H__