mirror of https://github.com/tongzx/nt5src
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
57 lines
1.2 KiB
// ipframe.h : interface of the CInPlaceFrame class
|
|
//
|
|
|
|
class CInPlaceFrame : public COleIPFrameWnd
|
|
{
|
|
DECLARE_DYNCREATE(CInPlaceFrame)
|
|
|
|
public:
|
|
|
|
CInPlaceFrame();
|
|
|
|
// Attributes
|
|
public:
|
|
|
|
// Operations
|
|
public:
|
|
|
|
// Implementation
|
|
public:
|
|
|
|
virtual ~CInPlaceFrame();
|
|
|
|
virtual CWnd* GetMessageBar();
|
|
virtual BOOL OnCreateControlBars(CFrameWnd* pWndFrame, CFrameWnd* pWndDoc);
|
|
virtual void RepositionFrame( LPCRECT lpPosRect, LPCRECT lpClipRect );
|
|
|
|
#ifdef _DEBUG
|
|
virtual void AssertValid() const;
|
|
virtual void Dump(CDumpContext& dc) const;
|
|
#endif
|
|
|
|
protected:
|
|
|
|
CStatBar m_statBar;
|
|
CImgToolWnd m_toolBar;
|
|
CImgColorsWnd m_colorBar;
|
|
|
|
COleResizeBar m_wndResizeBar;
|
|
COleDropTarget m_dropTarget;
|
|
|
|
// Generated message map functions
|
|
protected:
|
|
|
|
//{{AFX_MSG(CInPlaceFrame)
|
|
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
|
|
afx_msg void OnSize(UINT nType, int cx, int cy);
|
|
afx_msg void OnSysColorChange();
|
|
afx_msg void OnClose();
|
|
afx_msg void OnHelpIndex();
|
|
//}}AFX_MSG
|
|
|
|
afx_msg LRESULT OnContextMenu(WPARAM wParam, LPARAM lParam);
|
|
|
|
DECLARE_MESSAGE_MAP()
|
|
};
|
|
|
|
/***************************************************************************/
|