home *** CD-ROM | disk | FTP | other *** search
/ Mastering Visual Basic 5 / MasteringVisualBasic5.iso / protview / demowinx / data.1 / PVMULT~1.H < prev    next >
Encoding:
C/C++ Source or Header  |  1996-10-29  |  1.5 KB  |  54 lines

  1. #ifndef __PVMULTIBTN_H__
  2. #define __PVMULTIBTN_H__
  3.  
  4. // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
  5.  
  6. // NOTE: Do not modify the contents of this file.  If this class is regenerated by
  7. //  Microsoft Visual C++, your modifications will be overwritten.
  8.  
  9. /////////////////////////////////////////////////////////////////////////////
  10. // CPVMultiBtn wrapper class
  11.  
  12. class CPVMultiBtn : public CWnd
  13. {
  14. protected:
  15.     DECLARE_DYNCREATE(CPVMultiBtn)
  16. public:
  17.     CLSID const& GetClsid()
  18.     {
  19.         static CLSID const clsid
  20.             = { 0xc0491aa4, 0x2cba, 0x11d0, { 0xad, 0xa6, 0x0, 0x40, 0x5, 0x20, 0x79, 0x9c } };
  21.         return clsid;
  22.     }
  23.     virtual BOOL Create(LPCTSTR lpszClassName,
  24.         LPCTSTR lpszWindowName, DWORD dwStyle,
  25.         const RECT& rect,
  26.         CWnd* pParentWnd, UINT nID,
  27.         CCreateContext* pContext = NULL)
  28.     { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }
  29.  
  30.     BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
  31.         const RECT& rect, CWnd* pParentWnd, UINT nID,
  32.         CFile* pPersist = NULL, BOOL bStorage = FALSE,
  33.         BSTR bstrLicKey = NULL)
  34.     { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
  35.         pPersist, bStorage, bstrLicKey); }
  36.  
  37. // Attributes
  38. public:
  39.     short GetAppearance();
  40.     void SetAppearance(short);
  41.     short GetBorderStyle();
  42.     void SetBorderStyle(short);
  43.     BOOL GetEnabled();
  44.     void SetEnabled(BOOL);
  45.     OLE_HANDLE GetHWnd();
  46.     void SetHWnd(OLE_HANDLE);
  47.  
  48. // Operations
  49. public:
  50.     void AboutBox();
  51. };
  52.  
  53. #endif // __PVMULTIBTN_H__
  54.