#if !defined(AFX_STATICCAPTION_H__FFC66F8B_19CC_428A_96AA_91D7CCF1CA77__INCLUDED_) #define AFX_STATICCAPTION_H__FFC66F8B_19CC_428A_96AA_91D7CCF1CA77__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // StaticCaption.h : header file // ///////////////////////////////////////////////////////////////////////////// // CStaticCaption window class CStaticCaption : public CStatic { // Construction public: CStaticCaption(); // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CStaticCaption) //}}AFX_VIRTUAL virtual ~CStaticCaption(); // Generated message map functions protected: //{{AFX_MSG(CStaticCaption) afx_msg void OnPaint(); //}}AFX_MSG DECLARE_MESSAGE_MAP() private: // Member Data COLORREF m_crBack1, m_crBack2, m_crText; CFont m_cLeftFont, * m_pRightFont; // Helper Functions void DrawGradiant(CDC & pDC, CRect & pRect); void DrawCapText(CDC & pDC, CRect & pRect, CString & pText); }; ///////////////////////////////////////////////////////////////////////////// //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_STATICCAPTION_H__FFC66F8B_19CC_428A_96AA_91D7CCF1CA77__INCLUDED_)