123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109 |
- // 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 "vclabel.h"
- // Dispatch interfaces referenced by this interface
- #include "VcBackdrop.h"
- #include "vcfont.h"
- #include "vctextlayout.h"
- #include "Font.h"
- /////////////////////////////////////////////////////////////////////////////
- // CVcLabel properties
- /////////////////////////////////////////////////////////////////////////////
- // CVcLabel operations
- CVcBackdrop CVcLabel::GetBackdrop()
- {
- LPDISPATCH pDispatch;
- InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
- return CVcBackdrop(pDispatch);
- }
- CString CVcLabel::GetFormat()
- {
- CString result;
- InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- void CVcLabel::SetFormat(LPCTSTR lpszNewValue)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- lpszNewValue);
- }
- CVcFont CVcLabel::GetVtFont()
- {
- LPDISPATCH pDispatch;
- InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
- return CVcFont(pDispatch);
- }
- BOOL CVcLabel::GetAuto()
- {
- BOOL result;
- InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void CVcLabel::SetAuto(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x4, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- BOOL CVcLabel::GetStanding()
- {
- BOOL result;
- InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void CVcLabel::SetStanding(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x5, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- CVcTextLayout CVcLabel::GetTextLayout()
- {
- LPDISPATCH pDispatch;
- InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
- return CVcTextLayout(pDispatch);
- }
- short CVcLabel::GetFormatLength()
- {
- short result;
- InvokeHelper(0x7, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, NULL);
- return result;
- }
- void CVcLabel::SetRefFont(LPDISPATCH newValue)
- {
- static BYTE parms[] =
- VTS_DISPATCH;
- InvokeHelper(0x8, DISPATCH_PROPERTYPUTREF, VT_EMPTY, NULL, parms,
- newValue);
- }
- COleFont CVcLabel::GetFont()
- {
- LPDISPATCH pDispatch;
- InvokeHelper(0x8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
- return COleFont(pDispatch);
- }
|