Files
2026-06-01 12:46:52 +02:00

44 lines
2.1 KiB
C++

//-------------------------------------------------------------------------
// Summary:
// CAppearanceSetPropertyPageSelected is a CXTPTabThemeOffice2000 derived
// class that represents the "Office 2000 Selected" tab appearance.
// Remarks:
// To use the Office 2000 Selected appearance, SetAppearance is used to apply
// the xtpTabAppearancePropertyPageSelected XTPTabAppearanceStyle.
//
// CAppearanceSetPropertyPageSelected supports the following XTPTabColorStyle:
// * <b>xtpTabColorDefault</b> Default color style.
// * <b>xtpTabColorOffice2003</b> Office 2003 color style.
// * <b>xtpTabColorWinNative</b> Windows XP color style.
//
// See Also: XTPTabColorStyle, XTPTabAppearanceStyle, SetAppearance, GetAppearance, GetAppearanceSet,
// SetColor, GetColor, GetColorSet, SetColorSet, SetAppearanceSet
//-------------------------------------------------------------------------
class _XTP_EXT_CLASS CAppearanceSetPropertyPageSelected : public CXTPTabThemeOffice2000
{
public:
//-----------------------------------------------------------------------
// Summary:
// This method is called to draw a single tab button in the tab
// client header area.
// Parameters:
// pDC - Pointer to a valid device context.
// pItem - Tab button to draw.
// Remarks:
// This method will draw a single tab button. This method only
// draws the button, no text or icon is added.
//
// DrawSingleButton calls CXTPTabPaintManager::DrawSingleButtonIconAndText
// after the button is drawn. This is called to draw the button's
// icon and text.
//
// If the tab button is selected or highlighted then
// CXTPTabPaintManager::CAppearanceSetPropertyPageSelected::DrawSingleButton
// is called instead of CXTPTabPaintManager::DrawSingleButtonIconAndText.
//
// See Also:: CXTPTabPaintManager::DrawTabControlEx, CXTPTabPaintManager::DrawSingleButtonIconAndText
//-----------------------------------------------------------------------
virtual void DrawSingleButton(CDC* pDC, CXTPTabManagerItem* pItem);
};