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 "slider.h"
-
- // Dispatch interfaces referenced by this interface
- #include "Picture.h"
-
- /////////////////////////////////////////////////////////////////////////////
- // CSlider
-
- IMPLEMENT_DYNCREATE(CSlider, CWnd)
-
- /////////////////////////////////////////////////////////////////////////////
- // CSlider properties
-
- unsigned long CSlider::GetNeedleColor()
- {
- unsigned long result;
- GetProperty(0x1, VT_I4, (void*)&result);
- return result;
- }
-
- void CSlider::SetNeedleColor(unsigned long propVal)
- {
- SetProperty(0x1, VT_I4, propVal);
- }
-
- unsigned long CSlider::GetBorderColor()
- {
- unsigned long result;
- GetProperty(0x2, VT_I4, (void*)&result);
- return result;
- }
-
- void CSlider::SetBorderColor(unsigned long propVal)
- {
- SetProperty(0x2, VT_I4, propVal);
- }
-
- short CSlider::GetMin()
- {
- short result;
- GetProperty(0x3, VT_I2, (void*)&result);
- return result;
- }
-
- void CSlider::SetMin(short propVal)
- {
- SetProperty(0x3, VT_I2, propVal);
- }
-
- short CSlider::GetMax()
- {
- short result;
- GetProperty(0x4, VT_I2, (void*)&result);
- return result;
- }
-
- void CSlider::SetMax(short propVal)
- {
- SetProperty(0x4, VT_I2, propVal);
- }
-
- short CSlider::GetPos()
- {
- short result;
- GetProperty(0x5, VT_I2, (void*)&result);
- return result;
- }
-
- void CSlider::SetPos(short propVal)
- {
- SetProperty(0x5, VT_I2, propVal);
- }
-
- long CSlider::GetOuterBevel()
- {
- long result;
- GetProperty(0x6, VT_I4, (void*)&result);
- return result;
- }
-
- void CSlider::SetOuterBevel(long propVal)
- {
- SetProperty(0x6, VT_I4, propVal);
- }
-
- long CSlider::GetInnerBevel()
- {
- long result;
- GetProperty(0x7, VT_I4, (void*)&result);
- return result;
- }
-
- void CSlider::SetInnerBevel(long propVal)
- {
- SetProperty(0x7, VT_I4, propVal);
- }
-
- short CSlider::GetOuterBevelWidth()
- {
- short result;
- GetProperty(0x8, VT_I2, (void*)&result);
- return result;
- }
-
- void CSlider::SetOuterBevelWidth(short propVal)
- {
- SetProperty(0x8, VT_I2, propVal);
- }
-
- short CSlider::GetInnerBevelWidth()
- {
- short result;
- GetProperty(0x9, VT_I2, (void*)&result);
- return result;
- }
-
- void CSlider::SetInnerBevelWidth(short propVal)
- {
- SetProperty(0x9, VT_I2, propVal);
- }
-
- short CSlider::GetBorderWidth()
- {
- short result;
- GetProperty(0xa, VT_I2, (void*)&result);
- return result;
- }
-
- void CSlider::SetBorderWidth(short propVal)
- {
- SetProperty(0xa, VT_I2, propVal);
- }
-
- unsigned long CSlider::GetShadowColor()
- {
- unsigned long result;
- GetProperty(0xb, VT_I4, (void*)&result);
- return result;
- }
-
- void CSlider::SetShadowColor(unsigned long propVal)
- {
- SetProperty(0xb, VT_I4, propVal);
- }
-
- unsigned long CSlider::GetHiliteColor()
- {
- unsigned long result;
- GetProperty(0xc, VT_I4, (void*)&result);
- return result;
- }
-
- void CSlider::SetHiliteColor(unsigned long propVal)
- {
- SetProperty(0xc, VT_I4, propVal);
- }
-
- long CSlider::GetOrientation()
- {
- long result;
- GetProperty(0xd, VT_I4, (void*)&result);
- return result;
- }
-
- void CSlider::SetOrientation(long propVal)
- {
- SetProperty(0xd, VT_I4, propVal);
- }
-
- short CSlider::GetTickMarks()
- {
- short result;
- GetProperty(0xe, VT_I2, (void*)&result);
- return result;
- }
-
- void CSlider::SetTickMarks(short propVal)
- {
- SetProperty(0xe, VT_I2, propVal);
- }
-
- unsigned long CSlider::GetTickColor()
- {
- unsigned long result;
- GetProperty(0xf, VT_I4, (void*)&result);
- return result;
- }
-
- void CSlider::SetTickColor(unsigned long propVal)
- {
- SetProperty(0xf, VT_I4, propVal);
- }
-
- long CSlider::GetTickStyle()
- {
- long result;
- GetProperty(0x10, VT_I4, (void*)&result);
- return result;
- }
-
- void CSlider::SetTickStyle(long propVal)
- {
- SetProperty(0x10, VT_I4, propVal);
- }
-
- CPicture CSlider::GetBackgroundBitmap()
- {
- LPDISPATCH pDispatch;
- GetProperty(0x11, VT_DISPATCH, (void*)&pDispatch);
- return CPicture(pDispatch);
- }
-
- void CSlider::SetBackgroundBitmap(LPDISPATCH propVal)
- {
- SetProperty(0x11, VT_DISPATCH, propVal);
- }
-
- CPicture CSlider::GetThumbBitmap()
- {
- LPDISPATCH pDispatch;
- GetProperty(0x12, VT_DISPATCH, (void*)&pDispatch);
- return CPicture(pDispatch);
- }
-
- void CSlider::SetThumbBitmap(LPDISPATCH propVal)
- {
- SetProperty(0x12, VT_DISPATCH, propVal);
- }
-
- short CSlider::GetCenterBar()
- {
- short result;
- GetProperty(0x13, VT_I2, (void*)&result);
- return result;
- }
-
- void CSlider::SetCenterBar(short propVal)
- {
- SetProperty(0x13, VT_I2, propVal);
- }
-
- OLE_COLOR CSlider::GetBackColor()
- {
- OLE_COLOR result;
- GetProperty(DISPID_BACKCOLOR, VT_I4, (void*)&result);
- return result;
- }
-
- void CSlider::SetBackColor(OLE_COLOR propVal)
- {
- SetProperty(DISPID_BACKCOLOR, VT_I4, propVal);
- }
-
- /////////////////////////////////////////////////////////////////////////////
- // CSlider operations
-
- void CSlider::AboutBox()
- {
- InvokeHelper(0xfffffdd8, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
-