//------------------------------------------------------------------------- // 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: // * xtpTabColorDefault Default color style. // * xtpTabColorOffice2003 Office 2003 color style. // * xtpTabColorWinNative 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); };