home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / mfc / tutorial / scribble / step7 / ipframe.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-03-27  |  1.5 KB  |  57 lines

  1. // IpFrame.h : interface of the CInPlaceFrame class
  2. //
  3. // This is a part of the Microsoft Foundation Classes C++ library.
  4. // Copyright (C) 1992-1998 Microsoft Corporation
  5. // All rights reserved.
  6. //
  7. // This source code is only intended as a supplement to the
  8. // Microsoft Foundation Classes Reference and related
  9. // electronic documentation provided with the library.
  10. // See these sources for detailed information regarding the
  11. // Microsoft Foundation Classes product.
  12.  
  13. class CInPlaceFrame : public COleIPFrameWnd
  14. {
  15.     DECLARE_DYNCREATE(CInPlaceFrame)
  16. public:
  17.     CInPlaceFrame();
  18.  
  19. // Attributes
  20. public:
  21.  
  22. // Operations
  23. public:
  24.  
  25. // Overrides
  26.     // ClassWizard generated virtual function overrides
  27.     //{{AFX_VIRTUAL(CInPlaceFrame)
  28.     public:
  29.     virtual BOOL OnCreateControlBars(CFrameWnd* pWndFrame, CFrameWnd* pWndDoc);
  30.     virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  31.     //}}AFX_VIRTUAL
  32.  
  33. // Implementation
  34. public:
  35.     virtual ~CInPlaceFrame();
  36. #ifdef _DEBUG
  37.     virtual void AssertValid() const;
  38.     virtual void Dump(CDumpContext& dc) const;
  39. #endif
  40.  
  41. protected:
  42.     CToolBar    m_wndToolBar;
  43.     COleResizeBar   m_wndResizeBar;
  44.     COleDropTarget m_dropTarget;
  45.  
  46. // Generated message map functions
  47. protected:
  48.     //{{AFX_MSG(CInPlaceFrame)
  49.     afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  50.         // NOTE - the ClassWizard will add and remove member functions here.
  51.         //    DO NOT EDIT what you see in these blocks of generated code!
  52.     //}}AFX_MSG
  53.     DECLARE_MESSAGE_MAP()
  54. };
  55.  
  56. /////////////////////////////////////////////////////////////////////////////
  57.