DAOEDIT.H
资源名称:MSDN_VC98.zip [点击查看]
上传用户:bangxh
上传日期:2007-01-31
资源大小:42235k
文件大小:1k
源码类别:
Windows编程
开发平台:
Visual C++
- #ifndef __DAOEDIT_H__
- #define __DAOEDIT_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.
- /////////////////////////////////////////////////////////////////////////////
- // CDaoEdit wrapper class
- class CDaoEdit : public CWnd
- {
- protected:
- DECLARE_DYNCREATE(CDaoEdit)
- public:
- CLSID const& GetClsid()
- {
- static CLSID const clsid
- = { 0x5fdfc3e3, 0xc360, 0x11ce, { 0xa9, 0x87, 0x0, 0xaa, 0x0, 0x6e, 0xa4, 0xda } };
- 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:
- CString GetText();
- void SetText(LPCTSTR);
- CString Get_Text();
- void Set_Text(LPCTSTR);
- short GetBorderStyle();
- void SetBorderStyle(short);
- CString GetFieldName();
- void SetFieldName(LPCTSTR);
- // Operations
- public:
- void AboutBox();
- };
- #endif // __DAOEDIT_H__