MPCLogoPane.h
上传用户:rubberdam
上传日期:2007-01-10
资源大小:43k
文件大小:1k
- //
- // MPCLogoPane.h
- //
- // (c) Pierre MELLINAND
- //
- // History
- // --------
- // v 1.0
- // June 1998: Created.
- // v 1.01
- // October 19, 1999 Added History
- //
- #ifndef MPCLogoPane_h_
- #define MPCLogoPane_h_
- ///////////////////////////////////////////////////////////////////////////////////
- // MPCLogoPane
- class MPCLogoPane:public CWnd
- {
- DECLARE_DYNCREATE(MPCLogoPane)
- public:
- CString m_LogoText;
- CFont m_fontLogo;
- MPCLogoPane();
- virtual BOOL Create(CString sText,DWORD dwStyle, CWnd * pParent,UINT nID);
- void SetLogoText(CString sTxt);
- void SetLogoFont(CString Name, int nHeight = 18, int nWeight = FW_BOLD,
- BYTE bItalic = TRUE, BYTE bUnderline = FALSE);
- //{{AFX_MSG(MPCLogoPane)
- afx_msg void OnPaint();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- #endif