www.pudn.com > CYDEMO.zip > _button.h, change:2006-06-25,size:1660b


// 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 COleFont; 
 
///////////////////////////////////////////////////////////////////////////// 
// C_Button wrapper class 
 
class C_Button : public CWnd 
{ 
protected: 
	DECLARE_DYNCREATE(C_Button) 
public: 
	CLSID const& GetClsid() 
	{ 
		static CLSID const clsid 
			= { 0xb62c8f10, 0xad81, 0x4bf0, { 0xbe, 0x1b, 0xa0, 0x4c, 0x96, 0x94, 0x3f, 0xd } }; 
		return clsid; 
	} 
	virtual BOOL Create(LPCTSTR lpszClassName, 
		LPCTSTR lpszWindowName, DWORD dwStyle, 
		const RECT& rect, 
		CWnd* pParentWnd, UINT nID, 
		CCreateContext* pContext = NULL) 
	{ return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); } 
 
    BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle, 
		const RECT& rect, CWnd* pParentWnd, UINT nID, 
		CFile* pPersist = NULL, BOOL bStorage = FALSE, 
		BSTR bstrLicKey = NULL) 
	{ return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID, 
		pPersist, bStorage, bstrLicKey); } 
 
// Attributes 
public: 
 
// Operations 
public: 
	COleFont GetFont(); 
	void SetRefFont(LPDISPATCH newValue); 
	unsigned long GetForeColor(); 
	void SetForeColor(unsigned long newValue); 
	CString GetCaption(); 
	void SetCaption(LPCTSTR lpszNewValue); 
	CString GetMyToolTip(); 
	void SetMyToolTip(LPCTSTR lpszNewValue); 
	void UserControl_Resize(); 
	void PrintB(VARIANT* z); 
	void SetToolTip(BSTR* ToolTip); 
};