#ifndef __CtlBrPane_h
#define __CtlBrPane_h

#include "ControlBarBase.h"	// For Baseclass.

#ifdef SUPER_CLASS
#undef SUPER_CLASS
#endif
#define SUPER_CLASS CFCControlBarBase


#define FD_PANEBAR_WIDTH 6	// _xZkqqHx_iDhJiDeDiDjDjFkKiKiEiCmMjApMjFjNiBeC_xHqqkZx_

/////////////////////////////////////////////////////////////////////////////
// CFCCtlBrPane

/*************************************************************************
 * <_xZkqqHx_iDeOiDiJiDfI_xHqqkZx_>	CFCCtlBrPane
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iImIiJlKiCmMjAhNiCmMiCoGiCkEiCmJiBeBiDhCiDiFiBfLiCmMiNlGiBeBiJeFiCmJjEhKjChFiCmFiCkLiCoJiDhJiDeDiDjDiCpAiNoMjAkMiClHiCoJiBeC_xHqqkZx_
 *
 *          _xZkqqHx_iEkBiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEkC_xHqqkZx_
 *          _xZkqqHx_iEkA_xHqqkZx_                          _xZkqqHx_iEkA_xHqqkZx_
 *          _xZkqqHx_iEkA_xHqqkZx_                          _xZkqqHx_iEkA_xHqqkZx_
 *          _xZkqqHx_iEkFiEjPiEjPiEjPiEkGiEjPiEjPiEjPiEjPiEjPiEkGiEjPiEjPiEjPiEkH_xHqqkZx_
 *          _xZkqqHx_iEkA_xHqqkZx_ PaneA_xZkqqHx_iEkA_xHqqkZx_    View  _xZkqqHx_iEkA_xHqqkZx_ PaneB_xZkqqHx_iEkA_xHqqkZx_
 *          _xZkqqHx_iEkA_xHqqkZx_      _xZkqqHx_iEkA_xHqqkZx_          _xZkqqHx_iEkA_xHqqkZx_      _xZkqqHx_iEkA_xHqqkZx_
 *          _xZkqqHx_iEkA_xHqqkZx_      _xZkqqHx_iEkA_xHqqkZx_          _xZkqqHx_iEkA_xHqqkZx_      _xZkqqHx_iEkA_xHqqkZx_
 *          _xZkqqHx_iEkA_xHqqkZx_      _xZkqqHx_iEkA_xHqqkZx_          _xZkqqHx_iEkA_xHqqkZx_      _xZkqqHx_iEkA_xHqqkZx_
 *          _xZkqqHx_iEkFiEjPiEjPiEjPiEkIiEjPiEjPiEjPiEjPiEjPiEkIiEjPiEjPiEjPiEkH_xHqqkZx_
 *          _xZkqqHx_iEkEiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEkD_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	05.01.24 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
class CFCCtlBrPane : public SUPER_CLASS
{
protected:
typedef SUPER_CLASS BASE_CLASS;

	DECLARE_DYNAMIC(CFCCtlBrPane)

public:
	CFCCtlBrPane ();
	virtual ~CFCCtlBrPane ();

// _xZkqqHx_iDiGiBfLiDfFiKnGjAjEiBeC_xHqqkZx_
public:
	virtual BOOL	Create (CWnd* pParentWnd, DWORD dwStyle, UINT nID, CWnd* wndpMsgWnd = NULL);
	virtual BOOL	GetIsLeftSide ();
	virtual void	SetIsLeftSide (BOOL bIsLeftSide);

protected:
	virtual long	GetWidthMin () const;
	virtual CRect	GetBorderRect ();
	virtual CRect	GetUserRect ();
	virtual void	UpdateLayout ();
	virtual void	WriteProfile ();

// _xZkqqHx_iDiGiBfLiDfFjFmPjAjEiBeC_xHqqkZx_
protected:
	long	m_lWidth;				// _xZkqqHx_iClBiCmMiDeFiDeCiDjDiDgIiDeFiCmMjFjNiBeC_xHqqkZx_
	CRect	m_rtBar;				// _xZkqqHx_iDfEiDeDiDfJjFmPiNfIjHhAiDgPiBfLiCmMiNmAjFfHiBeC_xHqqkZx_CFCMainFrame_xZkqqHx_iCmFiCmMjIfPjHjNiNmAjFfHiBeC_xHqqkZx_
	BOOL	m_bIsBtnOnPaneBorder;	// _xZkqqHx_iDhJiDeDiDjDiDhLiBfLiDfPiBfLiPoDiCmFiDhLiDfOiDjDiCkKiJjPiClDiCoKiCmEiCkCiCoJiCkJiCmHiCkEiCkJiCpAjElLjCgGiClHiCoJiDhEiDiJiDePiBeC_xHqqkZx_
	CWnd	m_wndPaneBorder;		// _xZkqqHx_iDhJiDeDiDjDiDhLiBfLiDfPiBfLiCpAjFkCiCkEiDeFiDeCiDjDiDgIiDeFiBeC_xHqqkZx_

// Attributes
public:

// Implementation
public:
	virtual void DoPaint (CDC* pDC);
	virtual CSize CalcFixedLayout (BOOL bStretch, BOOL bHorz);
//	virtual CSize CalcDynamicLayout( int nLength, DWORD dwMode);
  
protected:
	virtual void OnUpdateCmdUI (CFrameWnd* pTarget, BOOL bDisableIfNoHndler);

	// Generated message map functions
	//{{AFX_MSG(CFCCtlBrPane)
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnDestroy();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#endif//__CtlBrPane_h

