/***************************************************************************** * * Copyright (c) 1999, KL GROUP INC. All Rights Reserved. * http://www.klgroup.com * * This file is provided for demonstration and educational uses only. * Permission to use, copy, modify and distribute this file for * any purpose and without fee is hereby granted, provided that the * above copyright notice and this permission notice appear in all * copies, and that the name of KL Group not be used in advertising * or publicity pertaining to this material without the specific, * prior written permission of an authorized representative of * KL Group. * * KL GROUP MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY * OF THE SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED * TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR * PURPOSE, OR NON-INFRINGEMENT. KL GROUP SHALL NOT BE LIABLE FOR ANY * DAMAGES SUFFERED BY USERS AS A RESULT OF USING, MODIFYING OR * DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES. */ #if !defined(AFX_STATICEX_H__233CBA98_B13C_11D2_B710_00105AA7D666__INCLUDED_) #define AFX_STATICEX_H__233CBA98_B13C_11D2_B710_00105AA7D666__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // StaticEx.h : header file // ///////////////////////////////////////////////////////////////////////////// // CStaticEx window class CStaticEx : public CStatic { // Construction public: CStaticEx(); // Attributes public: COLORREF m_colorUnselected; // color for unvisited COLORREF m_colorSelected; // color for visited bool m_bSelected; // whether visited or not // Operations public: void SetHilight(bool bHilight = TRUE); // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CStaticEx) //}}AFX_VIRTUAL // Implementation public: virtual ~CStaticEx(); protected: CFont m_font; // underline font for text control // Generated message map functions protected: //{{AFX_MSG(CStaticEx) afx_msg HBRUSH CtlColor(CDC* pDC, UINT nCtlColor); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; ///////////////////////////////////////////////////////////////////////////// //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_STATICEX_H__233CBA98_B13C_11D2_B710_00105AA7D666__INCLUDED_)