//{{AFX_CODEJOCK_PRIVATE #if !defined(__XTPBUTTONTHEMEOFFICE2000_H__) #define __XTPBUTTONTHEMEOFFICE2000_H__ //}}AFX_CODEJOCK_PRIVATE #if _MSC_VER >= 1000 #pragma once #endif // _MSC_VER >= 1000 //=========================================================================== // Summary: // CXTPButtonThemeOffice2000 is a class used to perform Office 2000 Theme // drawing tasks. //=========================================================================== class _XTP_EXT_CLASS CXTPButtonThemeOffice2000 : public CXTPButtonThemeUltraFlat { public: // ---------------------------------------- // Summary: // Constructs a CXTPButtonThemeOffice2000 object // ---------------------------------------- CXTPButtonThemeOffice2000(); //----------------------------------------------------------------------- // Summary: // This member function is called to draw the background for the // button. // Parameters: // pDC - A CDC pointer that represents the current device // context. // pButton - Points to a CXTPButton object. // Returns: // TRUE if the background was drawn successfully, otherwise returns // FALSE. //----------------------------------------------------------------------- void DrawButtonBackground(CDC* pDC, CXTPButton* pButton); }; #endif //#if !defined(__XTPBUTTONTHEMEOFFICE2000_H__)