home *** CD-ROM | disk | FTP | other *** search
- #ifndef __PVFONTSEL_H__
- #define __PVFONTSEL_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.
-
-
- // Dispatch interfaces referenced by this interface
- class COleFont;
-
- /////////////////////////////////////////////////////////////////////////////
- // CPVFontSel wrapper class
-
- class CPVFontSel : public CWnd
- {
- protected:
- DECLARE_DYNCREATE(CPVFontSel)
- public:
- CLSID const& GetClsid()
- {
- static CLSID const clsid
- = { 0xb283e1fc, 0x2cb3, 0x11d0, { 0xad, 0xa6, 0x0, 0x40, 0x5, 0x20, 0x79, 0x9c } };
- 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:
- short GetAppearance();
- void SetAppearance(short);
- short GetBorderStyle();
- void SetBorderStyle(short);
- BOOL GetEnabled();
- void SetEnabled(BOOL);
- OLE_HANDLE GetHWnd();
- void SetHWnd(OLE_HANDLE);
- COleFont GetFont();
- void SetFont(LPDISPATCH);
-
- // Operations
- public:
- void SetItemHeight(short Height);
- CString GetFontName();
- void SetFontName(LPCTSTR strFontName);
- short GetFontHeight();
- short GetPointSize();
- void SetFontHeight(short Height);
- void SetPointSize(short PointSize);
- void AboutBox();
- };
-
- #endif // __PVFONTSEL_H__
-