home *** CD-ROM | disk | FTP | other *** search
/ Mastering Visual Basic 5 / MasteringVisualBasic5.iso / protview / demowinx / data.3 / shape / samples / MFC / SHAPDEMO / SHAPE3D.H < prev    next >
Encoding:
C/C++ Source or Header  |  1996-10-28  |  2.0 KB  |  72 lines

  1. #ifndef __SHAPE3D_H__
  2. #define __SHAPE3D_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. // CShape3D wrapper class
  11.  
  12. class CShape3D : public CWnd
  13. {
  14. protected:
  15.     DECLARE_DYNCREATE(CShape3D)
  16. public:
  17.     CLSID const& GetClsid()
  18.     {
  19.         static CLSID const clsid
  20.             = { 0x75f920a3, 0x2673, 0x11d0, { 0xbd, 0xcb, 0x0, 0x20, 0xa9, 0xb, 0x18, 0x3a } };
  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 GetLineWidth();
  40.     void SetLineWidth(short);
  41.     short GetShape();
  42.     void SetShape(short);
  43.     short GetShiftShapeLeft();
  44.     void SetShiftShapeLeft(short);
  45.     short GetShiftShapeUp();
  46.     void SetShiftShapeUp(short);
  47.     short GetShadowHorizontal();
  48.     void SetShadowHorizontal(short);
  49.     short GetShadowVertical();
  50.     void SetShadowVertical(short);
  51.     unsigned long GetShadowColor();
  52.     void SetShadowColor(unsigned long);
  53.     unsigned long GetLineColor();
  54.     void SetLineColor(unsigned long);
  55.     BOOL GetTransparent();
  56.     void SetTransparent(BOOL);
  57.     BOOL GetRotateSide();
  58.     void SetRotateSide(BOOL);
  59.     BOOL GetSymmetrical();
  60.     void SetSymmetrical(BOOL);
  61.     OLE_COLOR GetBackColor();
  62.     void SetBackColor(OLE_COLOR);
  63.     short Get_Shape();
  64.     void Set_Shape(short);
  65.  
  66. // Operations
  67. public:
  68.     void AboutBox();
  69. };
  70.  
  71. #endif // __SHAPE3D_H__
  72.