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

📄 skinstatic.h

📁 If you are not using these features and wish to reduce the size
💻 H
字号:
#if !defined(AFX_SKINSTATIC_H__8008CAA3_1EE3_4F71_A6B7_976421CC0915__INCLUDED_)
#define AFX_SKINSTATIC_H__8008CAA3_1EE3_4F71_A6B7_976421CC0915__INCLUDED_

#include "EnBitmap.h"	// Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// SkinStatic.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CSkinStatic window
#include "EnBitmap.h"
class CSkinStatic : public CStatic
{
// Construction
public:
	CSkinStatic();

// Attributes
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CSkinStatic)
	protected:
	virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam);
	//}}AFX_VIRTUAL

// Implementation
public:
	void SetText(CString strText,int nStart,COLORREF cr);
	void SetExtendPoint(int nX,int nY){m_nX=nX;m_nY=nY;}
	BOOL DrawText(CDC *pDC,CRect rc ,CString strText);
	CEnBitmap m_bmpStatic;
	CString m_strText;
	int m_nTextStart;
	COLORREF m_crText;
	virtual ~CSkinStatic();
	void LoadBitmap(LPCTSTR szImagePath);

	// Generated message map functions
protected:
	//{{AFX_MSG(CSkinStatic)
	afx_msg void OnPaint();
	//}}AFX_MSG
	int m_nX,m_nY;
	DECLARE_MESSAGE_MAP()
};

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

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

#endif // !defined(AFX_SKINSTATIC_H__8008CAA3_1EE3_4F71_A6B7_976421CC0915__INCLUDED_)

⌨️ 快捷键说明

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