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 "pvnumeric.h"
-
- // Dispatch interfaces referenced by this interface
- #include "font.h"
-
- /////////////////////////////////////////////////////////////////////////////
- // CPVNumeric
-
- IMPLEMENT_DYNCREATE(CPVNumeric, CWnd)
-
- /////////////////////////////////////////////////////////////////////////////
- // CPVNumeric properties
-
- OLE_COLOR CPVNumeric::GetBackColor()
- {
- OLE_COLOR result;
- GetProperty(DISPID_BACKCOLOR, VT_I4, (void*)&result);
- return result;
- }
-
- void CPVNumeric::SetBackColor(OLE_COLOR propVal)
- {
- SetProperty(DISPID_BACKCOLOR, VT_I4, propVal);
- }
-
- OLE_COLOR CPVNumeric::GetForeColor()
- {
- OLE_COLOR result;
- GetProperty(DISPID_FORECOLOR, VT_I4, (void*)&result);
- return result;
- }
-
- void CPVNumeric::SetForeColor(OLE_COLOR propVal)
- {
- SetProperty(DISPID_FORECOLOR, VT_I4, propVal);
- }
-
- short CPVNumeric::GetAppearance()
- {
- short result;
- GetProperty(DISPID_APPEARANCE, VT_I2, (void*)&result);
- return result;
- }
-
- void CPVNumeric::SetAppearance(short propVal)
- {
- SetProperty(DISPID_APPEARANCE, VT_I2, propVal);
- }
-
- short CPVNumeric::GetBorderStyle()
- {
- short result;
- GetProperty(DISPID_BORDERSTYLE, VT_I2, (void*)&result);
- return result;
- }
-
- void CPVNumeric::SetBorderStyle(short propVal)
- {
- SetProperty(DISPID_BORDERSTYLE, VT_I2, propVal);
- }
-
- short CPVNumeric::GetAlignment()
- {
- short result;
- GetProperty(0x1, VT_I2, (void*)&result);
- return result;
- }
-
- void CPVNumeric::SetAlignment(short propVal)
- {
- SetProperty(0x1, VT_I2, propVal);
- }
-
- short CPVNumeric::GetDisplayFormat()
- {
- short result;
- GetProperty(0x2, VT_I2, (void*)&result);
- return result;
- }
-
- void CPVNumeric::SetDisplayFormat(short propVal)
- {
- SetProperty(0x2, VT_I2, propVal);
- }
-
- BOOL CPVNumeric::GetEnabled()
- {
- BOOL result;
- GetProperty(DISPID_ENABLED, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CPVNumeric::SetEnabled(BOOL propVal)
- {
- SetProperty(DISPID_ENABLED, VT_BOOL, propVal);
- }
-
- COleFont CPVNumeric::GetFont()
- {
- LPDISPATCH pDispatch;
- GetProperty(DISPID_FONT, VT_DISPATCH, (void*)&pDispatch);
- return COleFont(pDispatch);
- }
-
- void CPVNumeric::SetFont(LPDISPATCH propVal)
- {
- SetProperty(DISPID_FONT, VT_DISPATCH, propVal);
- }
-
- OLE_HANDLE CPVNumeric::GetHWnd()
- {
- OLE_HANDLE result;
- GetProperty(DISPID_HWND, VT_I4, (void*)&result);
- return result;
- }
-
- void CPVNumeric::SetHWnd(OLE_HANDLE propVal)
- {
- SetProperty(DISPID_HWND, VT_I4, propVal);
- }
-
- CString CPVNumeric::GetText()
- {
- CString result;
- GetProperty(DISPID_TEXT, VT_BSTR, (void*)&result);
- return result;
- }
-
- void CPVNumeric::SetText(LPCTSTR propVal)
- {
- SetProperty(DISPID_TEXT, VT_BSTR, propVal);
- }
-
- BOOL CPVNumeric::GetAutoscroll()
- {
- BOOL result;
- GetProperty(0x3, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CPVNumeric::SetAutoscroll(BOOL propVal)
- {
- SetProperty(0x3, VT_BOOL, propVal);
- }
-
- BOOL CPVNumeric::GetReadOnly()
- {
- BOOL result;
- GetProperty(0x4, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CPVNumeric::SetReadOnly(BOOL propVal)
- {
- SetProperty(0x4, VT_BOOL, propVal);
- }
-
- short CPVNumeric::GetEditMode()
- {
- short result;
- GetProperty(0x5, VT_I2, (void*)&result);
- return result;
- }
-
- void CPVNumeric::SetEditMode(short propVal)
- {
- SetProperty(0x5, VT_I2, propVal);
- }
-
- BOOL CPVNumeric::GetEditModeChange()
- {
- BOOL result;
- GetProperty(0x6, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CPVNumeric::SetEditModeChange(BOOL propVal)
- {
- SetProperty(0x6, VT_BOOL, propVal);
- }
-
- unsigned long CPVNumeric::GetHighlightColor()
- {
- unsigned long result;
- GetProperty(0x7, VT_I4, (void*)&result);
- return result;
- }
-
- void CPVNumeric::SetHighlightColor(unsigned long propVal)
- {
- SetProperty(0x7, VT_I4, propVal);
- }
-
- unsigned long CPVNumeric::GetTextDisabled()
- {
- unsigned long result;
- GetProperty(0x8, VT_I4, (void*)&result);
- return result;
- }
-
- void CPVNumeric::SetTextDisabled(unsigned long propVal)
- {
- SetProperty(0x8, VT_I4, propVal);
- }
-
- CString CPVNumeric::GetDecimalSeparator()
- {
- CString result;
- GetProperty(0x9, VT_BSTR, (void*)&result);
- return result;
- }
-
- void CPVNumeric::SetDecimalSeparator(LPCTSTR propVal)
- {
- SetProperty(0x9, VT_BSTR, propVal);
- }
-
- short CPVNumeric::GetFormat()
- {
- short result;
- GetProperty(0xa, VT_I2, (void*)&result);
- return result;
- }
-
- void CPVNumeric::SetFormat(short propVal)
- {
- SetProperty(0xa, VT_I2, propVal);
- }
-
- double CPVNumeric::GetValueReal()
- {
- double result;
- GetProperty(0x17, VT_R8, (void*)&result);
- return result;
- }
-
- void CPVNumeric::SetValueReal(double propVal)
- {
- SetProperty(0x17, VT_R8, propVal);
- }
-
- long CPVNumeric::GetValueInteger()
- {
- long result;
- GetProperty(0x18, VT_I4, (void*)&result);
- return result;
- }
-
- void CPVNumeric::SetValueInteger(long propVal)
- {
- SetProperty(0x18, VT_I4, propVal);
- }
-
- BOOL CPVNumeric::GetModified()
- {
- BOOL result;
- GetProperty(0x19, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CPVNumeric::SetModified(BOOL propVal)
- {
- SetProperty(0x19, VT_BOOL, propVal);
- }
-
- double CPVNumeric::GetValueMin()
- {
- double result;
- GetProperty(0xb, VT_R8, (void*)&result);
- return result;
- }
-
- void CPVNumeric::SetValueMin(double propVal)
- {
- SetProperty(0xb, VT_R8, propVal);
- }
-
- double CPVNumeric::GetValueMax()
- {
- double result;
- GetProperty(0xc, VT_R8, (void*)&result);
- return result;
- }
-
- void CPVNumeric::SetValueMax(double propVal)
- {
- SetProperty(0xc, VT_R8, propVal);
- }
-
- BOOL CPVNumeric::GetDecimalDefault()
- {
- BOOL result;
- GetProperty(0xd, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CPVNumeric::SetDecimalDefault(BOOL propVal)
- {
- SetProperty(0xd, VT_BOOL, propVal);
- }
-
- CY CPVNumeric::GetValueCurrency()
- {
- CY result;
- GetProperty(0x1a, VT_CY, (void*)&result);
- return result;
- }
-
- void CPVNumeric::SetValueCurrency(const CY& propVal)
- {
- SetProperty(0x1a, VT_CY, &propVal);
- }
-
- short CPVNumeric::GetHighlightInverted()
- {
- short result;
- GetProperty(0xe, VT_I2, (void*)&result);
- return result;
- }
-
- void CPVNumeric::SetHighlightInverted(short propVal)
- {
- SetProperty(0xe, VT_I2, propVal);
- }
-
- double CPVNumeric::GetValueSpinDelta()
- {
- double result;
- GetProperty(0xf, VT_R8, (void*)&result);
- return result;
- }
-
- void CPVNumeric::SetValueSpinDelta(double propVal)
- {
- SetProperty(0xf, VT_R8, propVal);
- }
-
- short CPVNumeric::GetDecimalMin()
- {
- short result;
- GetProperty(0x10, VT_I2, (void*)&result);
- return result;
- }
-
- void CPVNumeric::SetDecimalMin(short propVal)
- {
- SetProperty(0x10, VT_I2, propVal);
- }
-
- short CPVNumeric::GetDecimalMax()
- {
- short result;
- GetProperty(0x11, VT_I2, (void*)&result);
- return result;
- }
-
- void CPVNumeric::SetDecimalMax(short propVal)
- {
- SetProperty(0x11, VT_I2, propVal);
- }
-
- BOOL CPVNumeric::GetCanUndo()
- {
- BOOL result;
- GetProperty(0x1b, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CPVNumeric::SetCanUndo(BOOL propVal)
- {
- SetProperty(0x1b, VT_BOOL, propVal);
- }
-
- short CPVNumeric::GetSelectionPersistance()
- {
- short result;
- GetProperty(0x12, VT_I2, (void*)&result);
- return result;
- }
-
- void CPVNumeric::SetSelectionPersistance(short propVal)
- {
- SetProperty(0x12, VT_I2, propVal);
- }
-
- BOOL CPVNumeric::GetLimitValue()
- {
- BOOL result;
- GetProperty(0x13, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CPVNumeric::SetLimitValue(BOOL propVal)
- {
- SetProperty(0x13, VT_BOOL, propVal);
- }
-
- short CPVNumeric::GetLimitValueByType()
- {
- short result;
- GetProperty(0x14, VT_I2, (void*)&result);
- return result;
- }
-
- void CPVNumeric::SetLimitValueByType(short propVal)
- {
- SetProperty(0x14, VT_I2, propVal);
- }
-
- BOOL CPVNumeric::GetSuppressThousand()
- {
- BOOL result;
- GetProperty(0x15, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CPVNumeric::SetSuppressThousand(BOOL propVal)
- {
- SetProperty(0x15, VT_BOOL, propVal);
- }
-
- short CPVNumeric::GetSpinButtons()
- {
- short result;
- GetProperty(0x16, VT_I2, (void*)&result);
- return result;
- }
-
- void CPVNumeric::SetSpinButtons(short propVal)
- {
- SetProperty(0x16, VT_I2, propVal);
- }
-
- double CPVNumeric::Get_ValueReal()
- {
- double result;
- GetProperty(0x0, VT_R8, (void*)&result);
- return result;
- }
-
- void CPVNumeric::Set_ValueReal(double propVal)
- {
- SetProperty(0x0, VT_R8, propVal);
- }
-
- /////////////////////////////////////////////////////////////////////////////
- // CPVNumeric operations
-
- BOOL CPVNumeric::Undo()
- {
- BOOL result;
- InvokeHelper(0x1c, DISPATCH_METHOD, VT_BOOL, (void*)&result, NULL);
- return result;
- }
-
- void CPVNumeric::AboutBox()
- {
- InvokeHelper(0xfffffdd8, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
-