ACCPICT.H
资源名称:MSDN_VC98.zip [点击查看]
上传用户:bangxh
上传日期:2007-01-31
资源大小:42235k
文件大小:2k
源码类别:
Windows编程
开发平台:
Visual C++
- #ifndef __ACCPICT_H__
- #define __ACCPICT_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.
- /////////////////////////////////////////////////////////////////////////////
- // CAccessPict wrapper class
- class CAccessPict : public CWnd
- {
- protected:
- DECLARE_DYNCREATE(CAccessPict)
- public:
- CLSID const& GetClsid()
- {
- static CLSID const clsid
- = { 0x1f4e7c23, 0xc38f, 0x11ce, { 0x96, 0x11, 0x0, 0xaa, 0x0, 0x4a, 0x75, 0xcf } };
- 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:
- BOOL GetIsAccessObject();
- void SetIsAccessObject(BOOL);
- BOOL GetStretchToFit();
- void SetStretchToFit(BOOL);
- BOOL GetPreserveRatio();
- void SetPreserveRatio(BOOL);
- LPDISPATCH GetPicture();
- void SetPicture(LPDISPATCH);
- short GetBorderStyle();
- void SetBorderStyle(short);
- CString GetCaption();
- void SetCaption(LPCTSTR);
- LPFONTDISP GetFont();
- void SetFont(LPFONTDISP);
- // Operations
- public:
- BOOL SetData(VARIANT* pvarData);
- void AboutBox();
- };
- #endif // __ACCPICT_H__