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


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