1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- // 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 "vcframe.h"
- // Dispatch interfaces referenced by this interface
- #include "VcColor.h"
- /////////////////////////////////////////////////////////////////////////////
- // CVcFrame properties
- /////////////////////////////////////////////////////////////////////////////
- // CVcFrame operations
- long CVcFrame::GetStyle()
- {
- long result;
- InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CVcFrame::SetStyle(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- CVcColor CVcFrame::GetFrameColor()
- {
- LPDISPATCH pDispatch;
- InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
- return CVcColor(pDispatch);
- }
- CVcColor CVcFrame::GetSpaceColor()
- {
- LPDISPATCH pDispatch;
- InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
- return CVcColor(pDispatch);
- }
- float CVcFrame::GetWidth()
- {
- float result;
- InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
- return result;
- }
- void CVcFrame::SetWidth(float newValue)
- {
- static BYTE parms[] =
- VTS_R4;
- InvokeHelper(0x4, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- newValue);
- }
|