www.pudn.com > mischat.rar > InputBar.h


// outputbar.h : interface of the CInputBar class 
// 
///////////////////////////////////////////////////////////////////////////// 
 
#pragma once 
class CInputToolBar : public CBCGPToolBar 
{ 
public:	 
	virtual void OnUpdateCmdUI(CFrameWnd* /*pTarget*/, BOOL bDisableIfNoHndler)	 
	{		 
		CBCGPToolBar::OnUpdateCmdUI ((CFrameWnd*) GetOwner (), bDisableIfNoHndler); 
	} 
 
	virtual BOOL AllowShowOnList () const		{	return FALSE;	} 
}; 
 
class CInputBar : public CBCGPDockingControlBar 
{ 
public: 
	CInputBar(); 
 
// Attributes 
protected: 
	CInputToolBar	m_wndToolBar; 
	CRichEditCtrl	m_wndEdit; 
 
// Operations 
public: 
	void AdjustLayout (); 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CInputBar) 
	//}}AFX_VIRTUAL 
 
// Implementation 
public: 
	virtual ~CInputBar(); 
 
// Generated message map functions 
protected: 
	//{{AFX_MSG(CInputBar) 
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); 
	afx_msg void OnSize(UINT nType, int cx, int cy); 
	afx_msg void OnPaint(); 
	afx_msg void OnInputClear(); 
	afx_msg void OnInputSend(); 
	afx_msg void OnSetFocus(CWnd* pOldWnd); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
//