www.pudn.com > test_vc_11.rar > button.h


#if !defined(AFX_BUTTON_H__46E102DE_A17B_49A7_A4C9_53430CF4A9E3__INCLUDED_) 
#define AFX_BUTTON_H__46E102DE_A17B_49A7_A4C9_53430CF4A9E3__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
// 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. 
 
 
// Dispatch interfaces referenced by this interface 
class CButtonMenus; 
 
///////////////////////////////////////////////////////////////////////////// 
// CButton1 wrapper class 
 
class CButton1 : public COleDispatchDriver 
{ 
public: 
	CButton1() {}		// Calls COleDispatchDriver default constructor 
	CButton1(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 
	CButton1(const CButton1& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 
 
// Attributes 
public: 
 
// Operations 
public: 
	CString GetCaption(); 
	void SetCaption(LPCTSTR lpszNewValue); 
	VARIANT GetTag(); 
	void SetTag(const VARIANT& newValue); 
	BOOL GetEnabled(); 
	void SetEnabled(BOOL bNewValue); 
	short GetIndex(); 
	void SetIndex(short nNewValue); 
	CString GetKey(); 
	void SetKey(LPCTSTR lpszNewValue); 
	CString GetToolTipText(); 
	void SetToolTipText(LPCTSTR lpszNewValue); 
	BOOL GetVisible(); 
	void SetVisible(BOOL bNewValue); 
	float GetWidth(); 
	void SetWidth(float newValue); 
	float GetHeight(); 
	void SetHeight(float newValue); 
	float GetTop(); 
	void SetTop(float newValue); 
	float GetLeft(); 
	void SetLeft(float newValue); 
	long GetValue(); 
	void SetValue(long nNewValue); 
	long GetStyle(); 
	void SetStyle(long nNewValue); 
	CString GetDescription(); 
	void SetDescription(LPCTSTR lpszNewValue); 
	VARIANT GetImage(); 
	void SetImage(const VARIANT& newValue); 
	BOOL GetMixedState(); 
	void SetMixedState(BOOL bNewValue); 
	CButtonMenus GetButtonMenus(); 
	void SetRefButtonMenus(LPDISPATCH newValue); 
	void SetRefTag(const VARIANT& newValue); 
}; 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_BUTTON_H__46E102DE_A17B_49A7_A4C9_53430CF4A9E3__INCLUDED_)