prefsstatic.h

来自「MiniCA V2.0版本源码。《小型CA系统V2.1含源码》发表以来」· C头文件 代码 · 共 67 行

H
67
字号
#if !defined(AFX_PREFSSTATIC_H__1B15B006_9152_11D3_A10C_00500402F30B__INCLUDED_)
#define AFX_PREFSSTATIC_H__1B15B006_9152_11D3_A10C_00500402F30B__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// PrefsStatic.h : header file
//
//页面提示
/////////////////////////////////////////////////////////////////////////////
// CPrefsStatic window

class CPrefsStatic : public CStatic
{
	// Construction
public:
	CPrefsStatic();
	
	// Attributes
public:
	
	// Operations
public:
	CString m_csFontName;
	
	void		SetConstantText(const char *pText)	{m_csConstantText = pText;}
	
	int m_fontSize, m_fontWeight;
	BOOL m_grayText;
	COLORREF m_textClr;
	// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CPrefsStatic)
	//}}AFX_VIRTUAL
	
	// Implementation
public:
	virtual ~CPrefsStatic();
	
protected:
	CFont m_captionFont, m_nameFont;
	
	CBitmap m_bm;
	
	CString m_csConstantText;
	
	
	void MakeCaptionBitmap();
	
	// Generated message map functions
protected:
	//{{AFX_MSG(CPrefsStatic)
	afx_msg void OnPaint();
	afx_msg BOOL OnEraseBkgnd(CDC* pDC);
	afx_msg BOOL OnSetText (WPARAM wParam, LPARAM lParam);
	//}}AFX_MSG
	
	DECLARE_MESSAGE_MAP()
};

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

//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_PREFSSTATIC_H__1B15B006_9152_11D3_A10C_00500402F30B__INCLUDED_)

⌨️ 快捷键说明

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