www.pudn.com > VCBOOKSOURCES.zip > AXCTRL.H, change:1998-06-14,size:1845b


///////////////////////////////////////////////////////////////////////////// 
// AXCtrl.h wrapper class 
 
#if !defined(AFX_AXCTRL_H__8B0C9E0F_B276_11D1_80FC_00C0F6A83B7F__INCLUDED_) 
#define AFX_AXCTRL_H__8B0C9E0F_B276_11D1_80FC_00C0F6A83B7F__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. 
 
class CAXCtrl : public CWnd 
{ 
protected: 
   DECLARE_DYNCREATE(CAXCtrl) 
public: 
   CLSID const& GetClsid() 
   { 
      static CLSID const clsid 
         = { 0xcc31d286, 0xb1b1, 0x11d1, { 0x80, 0xfc, 0x0, 0xc0, 0xf6, 0xa8, 0x3b, 0x7f } }; 
      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: 
   OLE_COLOR GetBackColor(); 
   void SetBackColor(OLE_COLOR); 
   BOOL GetShowFrame(); 
   void SetShowFrame(BOOL); 
 
// Operations 
public: 
   void AboutBox(); 
}; 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_AXCTRL_H__8B0C9E0F_B276_11D1_80FC_00C0F6A83B7F__INCLUDED_)