home *** CD-ROM | disk | FTP | other *** search
- // 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.
-
-
- #include "stdafx.h"
- #include "text3d.h"
-
- // Dispatch interfaces referenced by this interface
- #include "Font.h"
-
- /////////////////////////////////////////////////////////////////////////////
- // CText3D
-
- IMPLEMENT_DYNCREATE(CText3D, CWnd)
-
- /////////////////////////////////////////////////////////////////////////////
- // CText3D properties
-
- short CText3D::GetAlignment()
- {
- short result;
- GetProperty(0x1, VT_I2, (void*)&result);
- return result;
- }
-
- void CText3D::SetAlignment(short propVal)
- {
- SetProperty(0x1, VT_I2, propVal);
- }
-
- short CText3D::GetTextStyle()
- {
- short result;
- GetProperty(0x2, VT_I2, (void*)&result);
- return result;
- }
-
- void CText3D::SetTextStyle(short propVal)
- {
- SetProperty(0x2, VT_I2, propVal);
- }
-
- short CText3D::GetFrameStyle()
- {
- short result;
- GetProperty(0x3, VT_I2, (void*)&result);
- return result;
- }
-
- void CText3D::SetFrameStyle(short propVal)
- {
- SetProperty(0x3, VT_I2, propVal);
- }
-
- short CText3D::GetFrameColor()
- {
- short result;
- GetProperty(0x4, VT_I2, (void*)&result);
- return result;
- }
-
- void CText3D::SetFrameColor(short propVal)
- {
- SetProperty(0x4, VT_I2, propVal);
- }
-
- short CText3D::GetOffsetHorizontal()
- {
- short result;
- GetProperty(0x5, VT_I2, (void*)&result);
- return result;
- }
-
- void CText3D::SetOffsetHorizontal(short propVal)
- {
- SetProperty(0x5, VT_I2, propVal);
- }
-
- short CText3D::GetOffsetVertical()
- {
- short result;
- GetProperty(0x6, VT_I2, (void*)&result);
- return result;
- }
-
- void CText3D::SetOffsetVertical(short propVal)
- {
- SetProperty(0x6, VT_I2, propVal);
- }
-
- OLE_COLOR CText3D::GetBackColor()
- {
- OLE_COLOR result;
- GetProperty(DISPID_BACKCOLOR, VT_I4, (void*)&result);
- return result;
- }
-
- void CText3D::SetBackColor(OLE_COLOR propVal)
- {
- SetProperty(DISPID_BACKCOLOR, VT_I4, propVal);
- }
-
- unsigned long CText3D::GetHighlightColor()
- {
- unsigned long result;
- GetProperty(0x7, VT_I4, (void*)&result);
- return result;
- }
-
- void CText3D::SetHighlightColor(unsigned long propVal)
- {
- SetProperty(0x7, VT_I4, propVal);
- }
-
- BOOL CText3D::GetFrameShadow()
- {
- BOOL result;
- GetProperty(0x8, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CText3D::SetFrameShadow(BOOL propVal)
- {
- SetProperty(0x8, VT_BOOL, propVal);
- }
-
- unsigned long CText3D::GetShadowColor()
- {
- unsigned long result;
- GetProperty(0x9, VT_I4, (void*)&result);
- return result;
- }
-
- void CText3D::SetShadowColor(unsigned long propVal)
- {
- SetProperty(0x9, VT_I4, propVal);
- }
-
- BOOL CText3D::GetTransparent()
- {
- BOOL result;
- GetProperty(0xa, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CText3D::SetTransparent(BOOL propVal)
- {
- SetProperty(0xa, VT_BOOL, propVal);
- }
-
- BOOL CText3D::GetTextOnFrame()
- {
- BOOL result;
- GetProperty(0xb, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CText3D::SetTextOnFrame(BOOL propVal)
- {
- SetProperty(0xb, VT_BOOL, propVal);
- }
-
- COleFont CText3D::GetFont()
- {
- LPDISPATCH pDispatch;
- GetProperty(DISPID_FONT, VT_DISPATCH, (void*)&pDispatch);
- return COleFont(pDispatch);
- }
-
- void CText3D::SetFont(LPDISPATCH propVal)
- {
- SetProperty(DISPID_FONT, VT_DISPATCH, propVal);
- }
-
- OLE_COLOR CText3D::GetForeColor()
- {
- OLE_COLOR result;
- GetProperty(DISPID_FORECOLOR, VT_I4, (void*)&result);
- return result;
- }
-
- void CText3D::SetForeColor(OLE_COLOR propVal)
- {
- SetProperty(DISPID_FORECOLOR, VT_I4, propVal);
- }
-
- CString CText3D::GetText()
- {
- CString result;
- GetProperty(DISPID_TEXT, VT_BSTR, (void*)&result);
- return result;
- }
-
- void CText3D::SetText(LPCTSTR propVal)
- {
- SetProperty(DISPID_TEXT, VT_BSTR, propVal);
- }
-
- CString CText3D::Get_Text()
- {
- CString result;
- GetProperty(0x0, VT_BSTR, (void*)&result);
- return result;
- }
-
- void CText3D::Set_Text(LPCTSTR propVal)
- {
- SetProperty(0x0, VT_BSTR, propVal);
- }
-
- /////////////////////////////////////////////////////////////////////////////
- // CText3D operations
-
- void CText3D::AboutBox()
- {
- InvokeHelper(0xfffffdd8, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
-