home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tricks of the Windows Gam…ming Gurus (2nd Edition)
/
Disc2.iso
/
msdn_vcb
/
samples
/
vc98
/
mfc
/
database
/
daoctl
/
accpict.h
< prev
next >
Wrap
C/C++ Source or Header
|
1998-03-26
|
2KB
|
61 lines
#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__