Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

57 lines
1.2 KiB

  1. // ipframe.h : interface of the CInPlaceFrame class
  2. //
  3. class CInPlaceFrame : public COleIPFrameWnd
  4. {
  5. DECLARE_DYNCREATE(CInPlaceFrame)
  6. public:
  7. CInPlaceFrame();
  8. // Attributes
  9. public:
  10. // Operations
  11. public:
  12. // Implementation
  13. public:
  14. virtual ~CInPlaceFrame();
  15. virtual CWnd* GetMessageBar();
  16. virtual BOOL OnCreateControlBars(CFrameWnd* pWndFrame, CFrameWnd* pWndDoc);
  17. virtual void RepositionFrame( LPCRECT lpPosRect, LPCRECT lpClipRect );
  18. #ifdef _DEBUG
  19. virtual void AssertValid() const;
  20. virtual void Dump(CDumpContext& dc) const;
  21. #endif
  22. protected:
  23. CStatBar m_statBar;
  24. CImgToolWnd m_toolBar;
  25. CImgColorsWnd m_colorBar;
  26. COleResizeBar m_wndResizeBar;
  27. COleDropTarget m_dropTarget;
  28. // Generated message map functions
  29. protected:
  30. //{{AFX_MSG(CInPlaceFrame)
  31. afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  32. afx_msg void OnSize(UINT nType, int cx, int cy);
  33. afx_msg void OnSysColorChange();
  34. afx_msg void OnClose();
  35. afx_msg void OnHelpIndex();
  36. //}}AFX_MSG
  37. afx_msg LRESULT OnContextMenu(WPARAM wParam, LPARAM lParam);
  38. DECLARE_MESSAGE_MAP()
  39. };
  40. /***************************************************************************/