www.pudn.com > EndpointDetection_Pitch.zip > ssfrctrl.cpp


// 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 "ssfrctrl.h" 
 
// Dispatch interfaces referenced by this interface 
#include "font.h" 
#include "picture.h" 
 
///////////////////////////////////////////////////////////////////////////// 
// CSSFRCtrl 
 
IMPLEMENT_DYNCREATE(CSSFRCtrl, CWnd) 
 
///////////////////////////////////////////////////////////////////////////// 
// CSSFRCtrl properties 
 
CString CSSFRCtrl::GetCaption() 
{ 
	CString result; 
	GetProperty(DISPID_CAPTION, VT_BSTR, (void*)&result); 
	return result; 
} 
 
void CSSFRCtrl::SetCaption(LPCTSTR propVal) 
{ 
	SetProperty(DISPID_CAPTION, VT_BSTR, propVal); 
} 
 
CString CSSFRCtrl::GetFontName() 
{ 
	CString result; 
	GetProperty(0x1, VT_BSTR, (void*)&result); 
	return result; 
} 
 
void CSSFRCtrl::SetFontName(LPCTSTR propVal) 
{ 
	SetProperty(0x1, VT_BSTR, propVal); 
} 
 
float CSSFRCtrl::GetFontSize() 
{ 
	float result; 
	GetProperty(0x2, VT_R4, (void*)&result); 
	return result; 
} 
 
void CSSFRCtrl::SetFontSize(float propVal) 
{ 
	SetProperty(0x2, VT_R4, propVal); 
} 
 
BOOL CSSFRCtrl::GetFontBold() 
{ 
	BOOL result; 
	GetProperty(0x3, VT_BOOL, (void*)&result); 
	return result; 
} 
 
void CSSFRCtrl::SetFontBold(BOOL propVal) 
{ 
	SetProperty(0x3, VT_BOOL, propVal); 
} 
 
BOOL CSSFRCtrl::GetFontItalic() 
{ 
	BOOL result; 
	GetProperty(0x4, VT_BOOL, (void*)&result); 
	return result; 
} 
 
void CSSFRCtrl::SetFontItalic(BOOL propVal) 
{ 
	SetProperty(0x4, VT_BOOL, propVal); 
} 
 
BOOL CSSFRCtrl::GetFontStrikethru() 
{ 
	BOOL result; 
	GetProperty(0x5, VT_BOOL, (void*)&result); 
	return result; 
} 
 
void CSSFRCtrl::SetFontStrikethru(BOOL propVal) 
{ 
	SetProperty(0x5, VT_BOOL, propVal); 
} 
 
BOOL CSSFRCtrl::GetFontUnderline() 
{ 
	BOOL result; 
	GetProperty(0x6, VT_BOOL, (void*)&result); 
	return result; 
} 
 
void CSSFRCtrl::SetFontUnderline(BOOL propVal) 
{ 
	SetProperty(0x6, VT_BOOL, propVal); 
} 
 
long CSSFRCtrl::GetAlignment() 
{ 
	long result; 
	GetProperty(0x7, VT_I4, (void*)&result); 
	return result; 
} 
 
void CSSFRCtrl::SetAlignment(long propVal) 
{ 
	SetProperty(0x7, VT_I4, propVal); 
} 
 
long CSSFRCtrl::GetShadowColor() 
{ 
	long result; 
	GetProperty(0x8, VT_I4, (void*)&result); 
	return result; 
} 
 
void CSSFRCtrl::SetShadowColor(long propVal) 
{ 
	SetProperty(0x8, VT_I4, propVal); 
} 
 
long CSSFRCtrl::GetFont3D() 
{ 
	long result; 
	GetProperty(0x9, VT_I4, (void*)&result); 
	return result; 
} 
 
void CSSFRCtrl::SetFont3D(long propVal) 
{ 
	SetProperty(0x9, VT_I4, propVal); 
} 
 
long CSSFRCtrl::GetShadowStyle() 
{ 
	long result; 
	GetProperty(0xa, VT_I4, (void*)&result); 
	return result; 
} 
 
void CSSFRCtrl::SetShadowStyle(long propVal) 
{ 
	SetProperty(0xa, VT_I4, propVal); 
} 
 
COleFont CSSFRCtrl::GetFont() 
{ 
	LPDISPATCH pDispatch; 
	GetProperty(DISPID_FONT, VT_DISPATCH, (void*)&pDispatch); 
	return COleFont(pDispatch); 
} 
 
void CSSFRCtrl::SetFont(LPDISPATCH propVal) 
{ 
	SetProperty(DISPID_FONT, VT_DISPATCH, propVal); 
} 
 
OLE_COLOR CSSFRCtrl::GetForeColor() 
{ 
	OLE_COLOR result; 
	GetProperty(DISPID_FORECOLOR, VT_I4, (void*)&result); 
	return result; 
} 
 
void CSSFRCtrl::SetForeColor(OLE_COLOR propVal) 
{ 
	SetProperty(DISPID_FORECOLOR, VT_I4, propVal); 
} 
 
BOOL CSSFRCtrl::GetEnabled() 
{ 
	BOOL result; 
	GetProperty(DISPID_ENABLED, VT_BOOL, (void*)&result); 
	return result; 
} 
 
void CSSFRCtrl::SetEnabled(BOOL propVal) 
{ 
	SetProperty(DISPID_ENABLED, VT_BOOL, propVal); 
} 
 
long CSSFRCtrl::GetMousePointer() 
{ 
	long result; 
	GetProperty(0xb, VT_I4, (void*)&result); 
	return result; 
} 
 
void CSSFRCtrl::SetMousePointer(long propVal) 
{ 
	SetProperty(0xb, VT_I4, propVal); 
} 
 
CPicture CSSFRCtrl::GetMouseIcon() 
{ 
	LPDISPATCH pDispatch; 
	GetProperty(0xc, VT_DISPATCH, (void*)&pDispatch); 
	return CPicture(pDispatch); 
} 
 
void CSSFRCtrl::SetMouseIcon(LPDISPATCH propVal) 
{ 
	SetProperty(0xc, VT_DISPATCH, propVal); 
} 
 
CString CSSFRCtrl::Get_Caption() 
{ 
	CString result; 
	GetProperty(0x0, VT_BSTR, (void*)&result); 
	return result; 
} 
 
void CSSFRCtrl::Set_Caption(LPCTSTR propVal) 
{ 
	SetProperty(0x0, VT_BSTR, propVal); 
} 
 
OLE_HANDLE CSSFRCtrl::GetHWnd() 
{ 
	OLE_HANDLE result; 
	GetProperty(DISPID_HWND, VT_I4, (void*)&result); 
	return result; 
} 
 
void CSSFRCtrl::SetHWnd(OLE_HANDLE propVal) 
{ 
	SetProperty(DISPID_HWND, VT_I4, propVal); 
} 
 
///////////////////////////////////////////////////////////////////////////// 
// CSSFRCtrl operations 
 
void CSSFRCtrl::Refresh() 
{ 
	InvokeHelper(DISPID_REFRESH, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 
} 
 
void CSSFRCtrl::AboutBox() 
{ 
	InvokeHelper(0xfffffdd8, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 
}