home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / mfc / ole / bindscrb / ipframe.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-03-27  |  1.5 KB  |  56 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 COleDocIPFrameWnd
  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.     //}}AFX_VIRTUAL
  31.  
  32. // Implementation
  33. public:
  34.     virtual ~CInPlaceFrame();
  35. #ifdef _DEBUG
  36.     virtual void AssertValid() const;
  37.     virtual void Dump(CDumpContext& dc) const;
  38. #endif
  39.  
  40. protected:
  41.     CToolBar    m_wndToolBar;
  42.     COleResizeBar   m_wndResizeBar;
  43.     COleDropTarget m_dropTarget;
  44.  
  45. // Generated message map functions
  46. protected:
  47.     //{{AFX_MSG(CInPlaceFrame)
  48.     afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  49.         // NOTE - the ClassWizard will add and remove member functions here.
  50.         //    DO NOT EDIT what you see in these blocks of generated code!
  51.     //}}AFX_MSG
  52.     DECLARE_MESSAGE_MAP()
  53. };
  54.  
  55. /////////////////////////////////////////////////////////////////////////////
  56.