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

📄 titleshow.h

📁 在中小型电力行业系统中
💻 H
字号:
//http://www.zhugang.net
//http://zgskin.075.cn
//

#if !defined(AFX_TITLESHOW_H__6FFFBA91_D57D_40BC_87CA_22521C739F56__INCLUDED_)
#define AFX_TITLESHOW_H__6FFFBA91_D57D_40BC_87CA_22521C739F56__INCLUDED_

#include "AutoFont.h"
#include "Resource.h"
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// TitleShow.h : header file
//
#define SAFE_DELETE(p)  { if(p) { delete (p);     (p)=NULL; } }
/////////////////////////////////////////////////////////////////////////////
// CTitleShow window
#define TIMER_DRAW			1

class CTitleShow : public CStatic
{
// Construction
public:
	CTitleShow();

// Attributes
public:

// Operations
public:
	void AddTitleText(CString strTitle) { m_TitleTextList.Add(strTitle) ;}

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CTitleShow)
	protected:
	virtual void PreSubclassWindow();
	//}}AFX_VIRTUAL

// Implementation
public:
	void TerminateShowMsg();
	void StartShowMsg();
	virtual ~CTitleShow();

	// Generated message map functions
protected:
	int mi_ColorH;		//色调
	int mi_ColorS;		//饱和度
	int mi_ColorL;		//亮度

	int	mi_SpinValue;	//变化度

	int mi_LightMax;
	int mi_LightMin;

	CAutoFont * m_pFnt;

	CStringArray m_TitleTextList;
	int mi_TextIndex;
	BOOL mi_Show;
	//{{AFX_MSG(CTitleShow)
	afx_msg BOOL OnEraseBkgnd(CDC* pDC);
	afx_msg void OnTimer(UINT nIDEvent);
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_TITLESHOW_H__6FFFBA91_D57D_40BC_87CA_22521C739F56__INCLUDED_)

⌨️ 快捷键说明

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