📄 infobar.h
字号:
//////////////////////////////////////////////////////////////////////
// FileFury
// Copyright (c) 2000 Tenebril Incorporated
// All rights reserved.
//
// This source code is governed by the Tenebril open source
// license (http://www.tenebril.com/developers/opensource/license.html)
//
// For more information on this and other open source applications,
// visit the Tenebril OpenSource page:
// http://www.tenebril.com/developers/opensource
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_INFOBAR_H__C789E26C_DA4B_11D2_BF44_006008085F93__INCLUDED_)
#define AFX_INFOBAR_H__C789E26C_DA4B_11D2_BF44_006008085F93__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// InfoBar.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CInfoBar window
class CInfoBar : public CControlBar
{
// Construction
public:
CInfoBar();
// Attributes
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CInfoBar)
//}}AFX_VIRTUAL
// Implementation
public:
void SetTextColor(COLORREF crNew);
void SetBackgroundColor(COLORREF cr);
BOOL SetTextFont(LPCTSTR lpFontName);
BOOL SetBitmap(UINT nResID);
void SetText(LPCTSTR lpszNew);
virtual ~CInfoBar();
// Generated message map functions
protected:
//{{AFX_MSG(CInfoBar)
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg BOOL OnEraseBkgnd(CDC* pDC);
afx_msg void OnPaint();
//}}AFX_MSG
afx_msg LRESULT OnSizeParent(WPARAM, LPARAM lParam);
DECLARE_MESSAGE_MAP()
int m_cxAvailable;
CFont m_font;
CString m_caption;
CBitmap m_bm;
virtual void OnUpdateCmdUI(CFrameWnd* pTarget, BOOL bDisableIfNoHndler);
virtual CSize CalcFixedLayout(BOOL bStretch, BOOL bHorz);
private:
COLORREF m_crBackgroundColor;
COLORREF m_crTextColor;
CSize m_sizeBitmap;
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_INFOBAR_H__C789E26C_DA4B_11D2_BF44_006008085F93__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -