www.pudn.com > wi.zip > tmpocx.h, change:2003-06-10,size:1744b


#if !defined(AFX_TMPOCX_H__87CC0F44_FC7E_4434_9732_C720BAE9C648__INCLUDED_) 
#define AFX_TMPOCX_H__87CC0F44_FC7E_4434_9732_C720BAE9C648__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. 
 
///////////////////////////////////////////////////////////////////////////// 
// CTmpOcx wrapper class 
 
class CTmpOcx : public CWnd 
{ 
protected: 
	DECLARE_DYNCREATE(CTmpOcx) 
public: 
	CLSID const& GetClsid() 
	{ 
		static CLSID const clsid 
			= { 0xd7cfafda, 0x467d, 0x4aa7, { 0x8e, 0x5, 0xa5, 0x58, 0x17, 0x81, 0x88, 0xaf } }; 
		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: 
	CString GetMsgContext(); 
	void SetMsgContext(LPCTSTR); 
 
// Operations 
public: 
	void ShowMessage(); 
	void AboutBox(); 
}; 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_TMPOCX_H__87CC0F44_FC7E_4434_9732_C720BAE9C648__INCLUDED_)