home *** CD-ROM | disk | FTP | other *** search
- #ifndef __PVBUTTON_H__
- #define __PVBUTTON_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;
- class CPicture;
-
- /////////////////////////////////////////////////////////////////////////////
- // CPVButton wrapper class
-
- class CPVButton : public CWnd
- {
- protected:
- DECLARE_DYNCREATE(CPVButton)
- public:
- CLSID const& GetClsid()
- {
- static CLSID const clsid
- = { 0x1bb282c4, 0x2cb9, 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:
- CString GetCaption();
- void SetCaption(LPCTSTR);
- COleFont GetFont();
- void SetFont(LPDISPATCH);
- BOOL GetEnabled();
- void SetEnabled(BOOL);
- OLE_HANDLE GetHWnd();
- void SetHWnd(OLE_HANDLE);
- short GetPicture();
- void SetPicture(short);
- CString Get_Caption();
- void Set_Caption(LPCTSTR);
- short GetSpecialEffect();
- void SetSpecialEffect(short);
- BOOL GetDefaultButton();
- void SetDefaultButton(BOOL);
- BOOL GetRepeatButton();
- void SetRepeatButton(BOOL);
- unsigned long GetColorCodeColor();
- void SetColorCodeColor(unsigned long);
- CPicture GetCustomPicture();
- void SetCustomPicture(LPDISPATCH);
- OLE_COLOR GetBackColor();
- void SetBackColor(OLE_COLOR);
- OLE_COLOR GetForeColor();
- void SetForeColor(OLE_COLOR);
- unsigned long GetLightShadow();
- void SetLightShadow(unsigned long);
- unsigned long GetDarkShadow();
- void SetDarkShadow(unsigned long);
- unsigned long GetLightHighlight();
- void SetLightHighlight(unsigned long);
- unsigned long GetDarkHighlight();
- void SetDarkHighlight(unsigned long);
-
- // Operations
- public:
- void ResetColorScheme();
- void SetRedraw(BOOL bRedraw);
- void AboutBox();
- };
-
- #endif // __PVBUTTON_H__
-