// 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 "vctitle.h" // Dispatch interfaces referenced by this interface #include "vctextlayout.h" #include "VcLocation.h" #include "VcBackdrop.h" #include "VcFont.h" #include "Font.h" ///////////////////////////////////////////////////////////////////////////// // CVcTitle properties ///////////////////////////////////////////////////////////////////////////// // CVcTitle operations CVcTextLayout CVcTitle::GetTextLayout() { LPDISPATCH pDispatch; InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL); return CVcTextLayout(pDispatch); } CString CVcTitle::GetText() { CString result; InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); return result; } void CVcTitle::SetText(LPCTSTR lpszNewValue) { static BYTE parms[] = VTS_BSTR; InvokeHelper(0x2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, lpszNewValue); } CVcLocation CVcTitle::GetLocation() { LPDISPATCH pDispatch; InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL); return CVcLocation(pDispatch); } CVcBackdrop CVcTitle::GetBackdrop() { LPDISPATCH pDispatch; InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL); return CVcBackdrop(pDispatch); } CVcFont CVcTitle::GetVtFont() { LPDISPATCH pDispatch; InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL); return CVcFont(pDispatch); } short CVcTitle::GetTextLength() { short result; InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, NULL); return result; } void CVcTitle::SetRefFont(LPDISPATCH newValue) { static BYTE parms[] = VTS_DISPATCH; InvokeHelper(0x8, DISPATCH_PROPERTYPUTREF, VT_EMPTY, NULL, parms, newValue); } COleFont CVcTitle::GetFont() { LPDISPATCH pDispatch; InvokeHelper(0x8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL); return COleFont(pDispatch); } void CVcTitle::Select() { InvokeHelper(0x7, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); }