⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 slider.cpp

📁 音频水印水印算法
💻 CPP
📖 第 1 页 / 共 2 页
字号:
void CSlider::SetShape(LPCTSTR propVal)
{
	SetProperty(0x29, VT_BSTR, propVal);
}

long CSlider::GetShapeStyle()
{
	long result;
	GetProperty(0x2a, VT_I4, (void*)&result);
	return result;
}

void CSlider::SetShapeStyle(long propVal)
{
	SetProperty(0x2a, VT_I4, propVal);
}

BOOL CSlider::GetSnap()
{
	BOOL result;
	GetProperty(0x2b, VT_BOOL, (void*)&result);
	return result;
}

void CSlider::SetSnap(BOOL propVal)
{
	SetProperty(0x2b, VT_BOOL, propVal);
}

double CSlider::GetSnapIncrement()
{
	double result;
	GetProperty(0x2c, VT_R8, (void*)&result);
	return result;
}

void CSlider::SetSnapIncrement(double propVal)
{
	SetProperty(0x2c, VT_R8, propVal);
}

double CSlider::GetValue()
{
	double result;
	GetProperty(0x2d, VT_R8, (void*)&result);
	return result;
}

void CSlider::SetValue(double propVal)
{
	SetProperty(0x2d, VT_R8, propVal);
}

double CSlider::Get_Value()
{
	double result;
	GetProperty(0x0, VT_R8, (void*)&result);
	return result;
}

void CSlider::Set_Value(double propVal)
{
	SetProperty(0x0, VT_R8, propVal);
}

long CSlider::GetDirection()
{
	long result;
	GetProperty(0x2e, VT_I4, (void*)&result);
	return result;
}

void CSlider::SetDirection(long propVal)
{
	SetProperty(0x2e, VT_I4, propVal);
}

BOOL CSlider::GetDigitalAttach()
{
	BOOL result;
	GetProperty(0x2f, VT_BOOL, (void*)&result);
	return result;
}

void CSlider::SetDigitalAttach(BOOL propVal)
{
	SetProperty(0x2f, VT_BOOL, propVal);
}

double CSlider::GetBarStart()
{
	double result;
	GetProperty(0x30, VT_R8, (void*)&result);
	return result;
}

void CSlider::SetBarStart(double propVal)
{
	SetProperty(0x30, VT_R8, propVal);
}

double CSlider::GetBarStop()
{
	double result;
	GetProperty(0x31, VT_R8, (void*)&result);
	return result;
}

void CSlider::SetBarStop(double propVal)
{
	SetProperty(0x31, VT_R8, propVal);
}

long CSlider::GetBevelInner()
{
	long result;
	GetProperty(0x32, VT_I4, (void*)&result);
	return result;
}

void CSlider::SetBevelInner(long propVal)
{
	SetProperty(0x32, VT_I4, propVal);
}

long CSlider::GetBevelOuter()
{
	long result;
	GetProperty(0x33, VT_I4, (void*)&result);
	return result;
}

void CSlider::SetBevelOuter(long propVal)
{
	SetProperty(0x33, VT_I4, propVal);
}

short CSlider::GetBevelWidth()
{
	short result;
	GetProperty(0x34, VT_I2, (void*)&result);
	return result;
}

void CSlider::SetBevelWidth(short propVal)
{
	SetProperty(0x34, VT_I2, propVal);
}

short CSlider::GetBorderWidth()
{
	short result;
	GetProperty(0x35, VT_I2, (void*)&result);
	return result;
}

void CSlider::SetBorderWidth(short propVal)
{
	SetProperty(0x35, VT_I2, propVal);
}

BOOL CSlider::GetOutline()
{
	BOOL result;
	GetProperty(0x36, VT_BOOL, (void*)&result);
	return result;
}

void CSlider::SetOutline(BOOL propVal)
{
	SetProperty(0x36, VT_BOOL, propVal);
}

long CSlider::GetOutlineAlign()
{
	long result;
	GetProperty(0x37, VT_I4, (void*)&result);
	return result;
}

void CSlider::SetOutlineAlign(long propVal)
{
	SetProperty(0x37, VT_I4, propVal);
}

CString CSlider::GetOutlineTitle()
{
	CString result;
	GetProperty(0x38, VT_BSTR, (void*)&result);
	return result;
}

void CSlider::SetOutlineTitle(LPCTSTR propVal)
{
	SetProperty(0x38, VT_BSTR, propVal);
}

short CSlider::GetOutlineWidth()
{
	short result;
	GetProperty(0x39, VT_I2, (void*)&result);
	return result;
}

void CSlider::SetOutlineWidth(short propVal)
{
	SetProperty(0x39, VT_I2, propVal);
}

unsigned long CSlider::GetOutlineColor()
{
	unsigned long result;
	GetProperty(0x3a, VT_I4, (void*)&result);
	return result;
}

void CSlider::SetOutlineColor(unsigned long propVal)
{
	SetProperty(0x3a, VT_I4, propVal);
}

COleFont CSlider::GetFont()
{
	LPDISPATCH pDispatch;
	GetProperty(DISPID_FONT, VT_DISPATCH, (void*)&pDispatch);
	return COleFont(pDispatch);
}

void CSlider::SetFont(LPDISPATCH propVal)
{
	SetProperty(DISPID_FONT, VT_DISPATCH, propVal);
}

short CSlider::GetFonts()
{
	short result;
	GetProperty(0x3b, VT_I2, (void*)&result);
	return result;
}

void CSlider::SetFonts(short propVal)
{
	SetProperty(0x3b, VT_I2, propVal);
}

short CSlider::GetCaptionID()
{
	short result;
	GetProperty(0x3c, VT_I2, (void*)&result);
	return result;
}

void CSlider::SetCaptionID(short propVal)
{
	SetProperty(0x3c, VT_I2, propVal);
}

short CSlider::GetFontID()
{
	short result;
	GetProperty(0x3d, VT_I2, (void*)&result);
	return result;
}

void CSlider::SetFontID(short propVal)
{
	SetProperty(0x3d, 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);
}

long CSlider::GetOrientation()
{
	long result;
	GetProperty(0x3e, VT_I4, (void*)&result);
	return result;
}

void CSlider::SetOrientation(long propVal)
{
	SetProperty(0x3e, VT_I4, propVal);
}

short CSlider::GetTicID()
{
	short result;
	GetProperty(0x3f, VT_I2, (void*)&result);
	return result;
}

void CSlider::SetTicID(short propVal)
{
	SetProperty(0x3f, VT_I2, propVal);
}

BOOL CSlider::GetAutoRedraw()
{
	BOOL result;
	GetProperty(0x40, VT_BOOL, (void*)&result);
	return result;
}

void CSlider::SetAutoRedraw(BOOL propVal)
{
	SetProperty(0x40, VT_BOOL, propVal);
}

CString CSlider::GetFontName()
{
	CString result;
	GetProperty(0x41, VT_BSTR, (void*)&result);
	return result;
}

void CSlider::SetFontName(LPCTSTR propVal)
{
	SetProperty(0x41, VT_BSTR, propVal);
}

float CSlider::GetFontSize()
{
	float result;
	GetProperty(0x42, VT_R4, (void*)&result);
	return result;
}

void CSlider::SetFontSize(float propVal)
{
	SetProperty(0x42, VT_R4, propVal);
}

BOOL CSlider::GetFontBold()
{
	BOOL result;
	GetProperty(0x43, VT_BOOL, (void*)&result);
	return result;
}

void CSlider::SetFontBold(BOOL propVal)
{
	SetProperty(0x43, VT_BOOL, propVal);
}

BOOL CSlider::GetFontItalic()
{
	BOOL result;
	GetProperty(0x44, VT_BOOL, (void*)&result);
	return result;
}

void CSlider::SetFontItalic(BOOL propVal)
{
	SetProperty(0x44, VT_BOOL, propVal);
}

BOOL CSlider::GetFontUnderline()
{
	BOOL result;
	GetProperty(0x45, VT_BOOL, (void*)&result);
	return result;
}

void CSlider::SetFontUnderline(BOOL propVal)
{
	SetProperty(0x45, VT_BOOL, propVal);
}

BOOL CSlider::GetFontStrikethru()
{
	BOOL result;
	GetProperty(0x46, VT_BOOL, (void*)&result);
	return result;
}

void CSlider::SetFontStrikethru(BOOL propVal)
{
	SetProperty(0x46, VT_BOOL, propVal);
}

BOOL CSlider::GetEnabled()
{
	BOOL result;
	GetProperty(DISPID_ENABLED, VT_BOOL, (void*)&result);
	return result;
}

void CSlider::SetEnabled(BOOL propVal)
{
	SetProperty(DISPID_ENABLED, VT_BOOL, propVal);
}

long CSlider::GetMouseControl()
{
	long result;
	GetProperty(0x47, VT_I4, (void*)&result);
	return result;
}

void CSlider::SetMouseControl(long propVal)
{
	SetProperty(0x47, VT_I4, propVal);
}

BOOL CSlider::GetTicAutoTic()
{
	BOOL result;
	GetProperty(0x48, VT_BOOL, (void*)&result);
	return result;
}

void CSlider::SetTicAutoTic(BOOL propVal)
{
	SetProperty(0x48, VT_BOOL, propVal);
}

short CSlider::GetTicAutoCount()
{
	short result;
	GetProperty(0x49, VT_I2, (void*)&result);
	return result;
}

void CSlider::SetTicAutoCount(short propVal)
{
	SetProperty(0x49, VT_I2, propVal);
}

short CSlider::GetTicAutoSubCount()
{
	short result;
	GetProperty(0x4a, VT_I2, (void*)&result);
	return result;
}

void CSlider::SetTicAutoSubCount(short propVal)
{
	SetProperty(0x4a, VT_I2, propVal);
}

BOOL CSlider::GetSingleBuffer()
{
	BOOL result;
	GetProperty(0x4b, VT_BOOL, (void*)&result);
	return result;
}

void CSlider::SetSingleBuffer(BOOL propVal)
{
	SetProperty(0x4b, VT_BOOL, propVal);
}

BOOL CSlider::GetFocusOutline()
{
	BOOL result;
	GetProperty(0x4c, VT_BOOL, (void*)&result);
	return result;
}

void CSlider::SetFocusOutline(BOOL propVal)
{
	SetProperty(0x4c, VT_BOOL, propVal);
}

OLE_HANDLE CSlider::GetHWnd()
{
	OLE_HANDLE result;
	GetProperty(DISPID_HWND, VT_I4, (void*)&result);
	return result;
}

void CSlider::SetHWnd(OLE_HANDLE propVal)
{
	SetProperty(DISPID_HWND, VT_I4, propVal);
}

CString CSlider::GetConfiguration()
{
	CString result;
	GetProperty(0x4d, VT_BSTR, (void*)&result);
	return result;
}

void CSlider::SetConfiguration(LPCTSTR propVal)
{
	SetProperty(0x4d, VT_BSTR, propVal);
}

/////////////////////////////////////////////////////////////////////////////
// CSlider operations

void CSlider::ShowPropertyPage()
{
	InvokeHelper(0x4e, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}

void CSlider::Redraw()
{
	InvokeHelper(0x4f, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}

void CSlider::RedrawStatic()
{
	InvokeHelper(0x50, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}

void CSlider::AboutBox()
{
	InvokeHelper(0xfffffdd8, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -