www.pudn.com > CYDEMO.zip > _exbtn.cpp, change:2006-06-25,size:7977b


// 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 "_exbtn.h" 
 
// Dispatch interfaces referenced by this interface 
#include "Picture.h" 
#include "font.h" 
 
///////////////////////////////////////////////////////////////////////////// 
// C_ExBtn 
 
IMPLEMENT_DYNCREATE(C_ExBtn, CWnd) 
 
///////////////////////////////////////////////////////////////////////////// 
// C_ExBtn properties 
 
///////////////////////////////////////////////////////////////////////////// 
// C_ExBtn operations 
 
unsigned long C_ExBtn::GetBackColor() 
{ 
	unsigned long result; 
	InvokeHelper(0x68030013, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 
	return result; 
} 
 
void C_ExBtn::SetBackColor(unsigned long newValue) 
{ 
	static BYTE parms[] = 
		VTS_I4; 
	InvokeHelper(0x68030013, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 
		 newValue); 
} 
 
unsigned long C_ExBtn::GetForeColor() 
{ 
	unsigned long result; 
	InvokeHelper(0x68030012, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 
	return result; 
} 
 
void C_ExBtn::SetForeColor(unsigned long newValue) 
{ 
	static BYTE parms[] = 
		VTS_I4; 
	InvokeHelper(0x68030012, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 
		 newValue); 
} 
 
BOOL C_ExBtn::GetEnabled() 
{ 
	BOOL result; 
	InvokeHelper(0x68030011, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 
	return result; 
} 
 
void C_ExBtn::SetEnabled(BOOL bNewValue) 
{ 
	static BYTE parms[] = 
		VTS_BOOL; 
	InvokeHelper(0x68030011, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 
		 bNewValue); 
} 
 
long C_ExBtn::GetMousePointer() 
{ 
	long result; 
	InvokeHelper(0x68030010, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 
	return result; 
} 
 
void C_ExBtn::SetMousePointer(long nNewValue) 
{ 
	static BYTE parms[] = 
		VTS_I4; 
	InvokeHelper(0x68030010, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 
		 nNewValue); 
} 
 
CPicture C_ExBtn::GetMouseIcon() 
{ 
	LPDISPATCH pDispatch; 
	InvokeHelper(0x6803000f, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL); 
	return CPicture(pDispatch); 
} 
 
void C_ExBtn::SetRefMouseIcon(LPDISPATCH newValue) 
{ 
	static BYTE parms[] = 
		VTS_DISPATCH; 
	InvokeHelper(0x6803000f, DISPATCH_PROPERTYPUTREF, VT_EMPTY, NULL, parms, 
		 newValue); 
} 
 
long C_ExBtn::GetAlignment() 
{ 
	long result; 
	InvokeHelper(0x6803000e, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 
	return result; 
} 
 
void C_ExBtn::SetAlignment(long nNewValue) 
{ 
	static BYTE parms[] = 
		VTS_I4; 
	InvokeHelper(0x6803000e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 
		 nNewValue); 
} 
 
long C_ExBtn::GetCRad() 
{ 
	long result; 
	InvokeHelper(0x6803000d, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 
	return result; 
} 
 
void C_ExBtn::SetCRad(long nNewValue) 
{ 
	static BYTE parms[] = 
		VTS_I4; 
	InvokeHelper(0x6803000d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 
		 nNewValue); 
} 
 
CPicture C_ExBtn::GetSkin() 
{ 
	LPDISPATCH pDispatch; 
	InvokeHelper(0x6803000c, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL); 
	return CPicture(pDispatch); 
} 
 
void C_ExBtn::SetRefSkin(LPDISPATCH newValue) 
{ 
	static BYTE parms[] = 
		VTS_DISPATCH; 
	InvokeHelper(0x6803000c, DISPATCH_PROPERTYPUTREF, VT_EMPTY, NULL, parms, 
		 newValue); 
} 
 
short C_ExBtn::GetSkinPR() 
{ 
	short result; 
	InvokeHelper(0x6803000b, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, NULL); 
	return result; 
} 
 
void C_ExBtn::SetSkinPR(short nNewValue) 
{ 
	static BYTE parms[] = 
		VTS_I2; 
	InvokeHelper(0x6803000b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 
		 nNewValue); 
} 
 
CPicture C_ExBtn::GetIcon() 
{ 
	LPDISPATCH pDispatch; 
	InvokeHelper(0x6803000a, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL); 
	return CPicture(pDispatch); 
} 
 
void C_ExBtn::SetRefIcon(LPDISPATCH newValue) 
{ 
	static BYTE parms[] = 
		VTS_DISPATCH; 
	InvokeHelper(0x6803000a, DISPATCH_PROPERTYPUTREF, VT_EMPTY, NULL, parms, 
		 newValue); 
} 
 
unsigned long C_ExBtn::GetIconMaskColor() 
{ 
	unsigned long result; 
	InvokeHelper(0x68030009, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 
	return result; 
} 
 
void C_ExBtn::SetIconMaskColor(unsigned long newValue) 
{ 
	static BYTE parms[] = 
		VTS_I4; 
	InvokeHelper(0x68030009, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 
		 newValue); 
} 
 
long C_ExBtn::GetIconLayout() 
{ 
	long result; 
	InvokeHelper(0x68030008, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 
	return result; 
} 
 
void C_ExBtn::SetIconLayout(long nNewValue) 
{ 
	static BYTE parms[] = 
		VTS_I4; 
	InvokeHelper(0x68030008, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 
		 nNewValue); 
} 
 
BOOL C_ExBtn::GetShowFoucs() 
{ 
	BOOL result; 
	InvokeHelper(0x68030007, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 
	return result; 
} 
 
void C_ExBtn::SetShowFoucs(BOOL bNewValue) 
{ 
	static BYTE parms[] = 
		VTS_BOOL; 
	InvokeHelper(0x68030007, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 
		 bNewValue); 
} 
 
short C_ExBtn::GetDisSetLeft() 
{ 
	short result; 
	InvokeHelper(0x68030006, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, NULL); 
	return result; 
} 
 
void C_ExBtn::SetDisSetLeft(short nNewValue) 
{ 
	static BYTE parms[] = 
		VTS_I2; 
	InvokeHelper(0x68030006, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 
		 nNewValue); 
} 
 
short C_ExBtn::GetDisSetTop() 
{ 
	short result; 
	InvokeHelper(0x68030005, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, NULL); 
	return result; 
} 
 
void C_ExBtn::SetDisSetTop(short nNewValue) 
{ 
	static BYTE parms[] = 
		VTS_I2; 
	InvokeHelper(0x68030005, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 
		 nNewValue); 
} 
 
short C_ExBtn::GetOffSetMid() 
{ 
	short result; 
	InvokeHelper(0x68030004, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, NULL); 
	return result; 
} 
 
void C_ExBtn::SetOffSetMid(short nNewValue) 
{ 
	static BYTE parms[] = 
		VTS_I2; 
	InvokeHelper(0x68030004, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 
		 nNewValue); 
} 
 
BOOL C_ExBtn::GetPowerIcon() 
{ 
	BOOL result; 
	InvokeHelper(0x68030003, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 
	return result; 
} 
 
void C_ExBtn::SetPowerIcon(BOOL bNewValue) 
{ 
	static BYTE parms[] = 
		VTS_BOOL; 
	InvokeHelper(0x68030003, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 
		 bNewValue); 
} 
 
long C_ExBtn::GetStyle() 
{ 
	long result; 
	InvokeHelper(0x68030002, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 
	return result; 
} 
 
void C_ExBtn::SetStyle(long nNewValue) 
{ 
	static BYTE parms[] = 
		VTS_I4; 
	InvokeHelper(0x68030002, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 
		 nNewValue); 
} 
 
unsigned long C_ExBtn::GetDisFontColor() 
{ 
	unsigned long result; 
	InvokeHelper(0x68030001, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 
	return result; 
} 
 
void C_ExBtn::SetDisFontColor(unsigned long newValue) 
{ 
	static BYTE parms[] = 
		VTS_I4; 
	InvokeHelper(0x68030001, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 
		 newValue); 
} 
 
CString C_ExBtn::GetCaption() 
{ 
	CString result; 
	InvokeHelper(0x68030000, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 
	return result; 
} 
 
void C_ExBtn::SetCaption(LPCTSTR lpszNewValue) 
{ 
	static BYTE parms[] = 
		VTS_BSTR; 
	InvokeHelper(0x68030000, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 
		 lpszNewValue); 
} 
 
long C_ExBtn::BtnShBackColor() 
{ 
	long result; 
	InvokeHelper(0x6003003e, DISPATCH_METHOD, VT_I4, (void*)&result, NULL); 
	return result; 
} 
 
COleFont C_ExBtn::GetFont() 
{ 
	LPDISPATCH pDispatch; 
	InvokeHelper(DISPID_FONT, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL); 
	return COleFont(pDispatch); 
} 
 
void C_ExBtn::SetRefFont(LPDISPATCH newValue) 
{ 
	static BYTE parms[] = 
		VTS_DISPATCH; 
	InvokeHelper(DISPID_FONT, DISPATCH_PROPERTYPUTREF, VT_EMPTY, NULL, parms, 
		 newValue); 
}