home *** CD-ROM | disk | FTP | other *** search
/ Mastering Visual Basic 5 / MasteringVisualBasic5.iso / protview / demowinx / data.3 / text / samples / MFC / TEXTDEMO / TEXT3D.H < prev    next >
Encoding:
C/C++ Source or Header  |  1996-10-25  |  2.2 KB  |  82 lines

  1. #ifndef __TEXT3D_H__
  2. #define __TEXT3D_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. // Dispatch interfaces referenced by this interface
  11. class COleFont;
  12.  
  13. /////////////////////////////////////////////////////////////////////////////
  14. // CText3D wrapper class
  15.  
  16. class CText3D : public CWnd
  17. {
  18. protected:
  19.     DECLARE_DYNCREATE(CText3D)
  20. public:
  21.     CLSID const& GetClsid()
  22.     {
  23.         static CLSID const clsid
  24.             = { 0x3d0bcc3, 0x25ee, 0x11d0, { 0xbd, 0xcb, 0x0, 0x20, 0xa9, 0xb, 0x18, 0x3a } };
  25.         return clsid;
  26.     }
  27.     virtual BOOL Create(LPCTSTR lpszClassName,
  28.         LPCTSTR lpszWindowName, DWORD dwStyle,
  29.         const RECT& rect,
  30.         CWnd* pParentWnd, UINT nID,
  31.         CCreateContext* pContext = NULL)
  32.     { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }
  33.  
  34.     BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
  35.         const RECT& rect, CWnd* pParentWnd, UINT nID,
  36.         CFile* pPersist = NULL, BOOL bStorage = FALSE,
  37.         BSTR bstrLicKey = NULL)
  38.     { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
  39.         pPersist, bStorage, bstrLicKey); }
  40.  
  41. // Attributes
  42. public:
  43.     short GetAlignment();
  44.     void SetAlignment(short);
  45.     short GetTextStyle();
  46.     void SetTextStyle(short);
  47.     short GetFrameStyle();
  48.     void SetFrameStyle(short);
  49.     short GetFrameColor();
  50.     void SetFrameColor(short);
  51.     short GetOffsetHorizontal();
  52.     void SetOffsetHorizontal(short);
  53.     short GetOffsetVertical();
  54.     void SetOffsetVertical(short);
  55.     OLE_COLOR GetBackColor();
  56.     void SetBackColor(OLE_COLOR);
  57.     unsigned long GetHighlightColor();
  58.     void SetHighlightColor(unsigned long);
  59.     BOOL GetFrameShadow();
  60.     void SetFrameShadow(BOOL);
  61.     unsigned long GetShadowColor();
  62.     void SetShadowColor(unsigned long);
  63.     BOOL GetTransparent();
  64.     void SetTransparent(BOOL);
  65.     BOOL GetTextOnFrame();
  66.     void SetTextOnFrame(BOOL);
  67.     COleFont GetFont();
  68.     void SetFont(LPDISPATCH);
  69.     OLE_COLOR GetForeColor();
  70.     void SetForeColor(OLE_COLOR);
  71.     CString GetText();
  72.     void SetText(LPCTSTR);
  73.     CString Get_Text();
  74.     void Set_Text(LPCTSTR);
  75.  
  76. // Operations
  77. public:
  78.     void AboutBox();
  79. };
  80.  
  81. #endif // __TEXT3D_H__
  82.