windows-nt/Source/XPSP1/NT/shell/osshell/accesory/mspaint/ipframe.h
2020-09-26 16:20:57 +08:00

58 lines
1.2 KiB
C++

// 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()
};
/***************************************************************************/