00001 #if !defined(AFX_USEFULSPLITTERWND_H__61D2F7E7_7AAA_11D1_9F4C_008029E98A75__INCLUDED_)
00002 #define AFX_USEFULSPLITTERWND_H__61D2F7E7_7AAA_11D1_9F4C_008029E98A75__INCLUDED_
00003
00004 #if _MSC_VER >= 1000
00005 #pragma once
00006 #endif // _MSC_VER >= 1000
00007
00008
00009
00011
00012
00013 class CUsefulSplitterWnd : public CSplitterWnd
00014 {
00015
00016 public:
00017 CUsefulSplitterWnd();
00018
00019
00020 public:
00021
00022 private:
00023 BOOL m_bBarLocked;
00024
00025
00026 public:
00027 BOOL IsBarLocked(){return m_bBarLocked;}
00028 void LockBar(BOOL bState=TRUE){m_bBarLocked=bState;}
00029 BOOL ReplaceView(int row, int col,CRuntimeClass * pViewClass,SIZE size);
00030
00031
00032
00033
00034
00035
00036
00037 public:
00038 virtual ~CUsefulSplitterWnd();
00039
00040
00041 protected:
00042
00043 afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
00044 afx_msg void OnMouseMove(UINT nFlags, CPoint point);
00045 afx_msg BOOL OnSetCursor(CWnd* pWnd, UINT nHitTest, UINT message);
00046
00047 DECLARE_MESSAGE_MAP()
00048 };
00049
00051
00052
00053
00054
00055 #endif // !defined(AFX_USEFULSPLITTERWND_H__61D2F7E7_7AAA_11D1_9F4C_008029E98A75__INCLUDED_)