home *** CD-ROM | disk | FTP | other *** search
/ ActiveX Programming Unleashed CD / AXU.iso / source / chap04 / lst42 / ipframe.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-09-26  |  1.1 KB  |  48 lines

  1. // IpFrame.h : interface of the CInPlaceFrame class
  2. //
  3.  
  4. class CInPlaceFrame : public COleIPFrameWnd
  5. {
  6.     DECLARE_DYNCREATE(CInPlaceFrame)
  7. public:
  8.     CInPlaceFrame();
  9.  
  10. // Attributes
  11. public:
  12.  
  13. // Operations
  14. public:
  15.  
  16. // Overrides
  17.     // ClassWizard generated virtual function overrides
  18.     //{{AFX_VIRTUAL(CInPlaceFrame)
  19.     public:
  20.     virtual BOOL OnCreateControlBars(CFrameWnd* pWndFrame, CFrameWnd* pWndDoc);
  21.     virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  22.     //}}AFX_VIRTUAL
  23.  
  24. // Implementation
  25. public:
  26.     virtual ~CInPlaceFrame();
  27. #ifdef _DEBUG
  28.     virtual void AssertValid() const;
  29.     virtual void Dump(CDumpContext& dc) const;
  30. #endif
  31.  
  32. protected:
  33.     CToolBar    m_wndToolBar;
  34.     COleResizeBar   m_wndResizeBar;
  35.     COleDropTarget m_dropTarget;
  36.  
  37. // Generated message map functions
  38. protected:
  39.     //{{AFX_MSG(CInPlaceFrame)
  40.     afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  41.         // NOTE - the ClassWizard will add and remove member functions here.
  42.         //    DO NOT EDIT what you see in these blocks of generated code!
  43.     //}}AFX_MSG
  44.     DECLARE_MESSAGE_MAP()
  45. };
  46.  
  47. /////////////////////////////////////////////////////////////////////////////
  48.