⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 captionpainterex.h

📁 一个简单的sniffer,下载后请用winrar
💻 H
字号:
// CaptionPainterEx.h: interface for the CCaptionPainterEx class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_CAPTIONPAINTEREX_H__BDB658D3_C3BF_11D1_9AA6_0060B017334D__INCLUDED_)
#define AFX_CAPTIONPAINTEREX_H__BDB658D3_C3BF_11D1_9AA6_0060B017334D__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000

#include "PaintCap.h"

class CCaptionPainterEx : public CCaptionPainter  
{
public:
	CCaptionPainterEx();
	virtual ~CCaptionPainterEx();

	void PaintCaption(BOOL bActive, const PAINTCAP* pc);

	//String format: App name | doc name
	void TitleText(CString title){m_Title = title;}
	void TitleText(const CString *title = NULL){m_pTitle = title;}

protected:
	void CreateFonts();

	CFont		m_fontCaption;			// normal system font for active caption
	CFont		m_fontAcme;				// "ACME" company font (same active/inactive)

	CString			m_Title;
	const CString*	m_pTitle;
};

#endif // !defined(AFX_CAPTIONPAINTEREX_H__BDB658D3_C3BF_11D1_9AA6_0060B017334D__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -