//=========================================================================== // Summary: // CXTPDockingPaneOffice2007OutlookTheme is CXTPDockingPaneOffice2007Theme derived class, represents // Outlook 2007 theme for docking panes. // Remarks: // Call CXTPDockingPaneManager::SetTheme(xtpPaneThemeOffice2007Outlook); to set this theme. //=========================================================================== class _XTP_EXT_CLASS CXTPDockingPaneOffice2007OutlookTheme : public CXTPDockingPaneOffice2007Theme { public: //------------------------------------------------------------------------- // Summary: // Constructs a CXTPDockingPaneOffice2007OutlookTheme object. //------------------------------------------------------------------------- CXTPDockingPaneOffice2007OutlookTheme(); public: //----------------------------------------------------------------------- // Summary: // This method is called to refresh the visual metrics of the pane. //----------------------------------------------------------------------- void RefreshMetrics(); //----------------------------------------------------------------------- // Summary: // Override this member function to draw a caption. // Parameters: // pDC - Reference to the device context in which to draw. // pPane - Pointer to the tabbed container. // rc - Client rectangle of the tabbed container. //----------------------------------------------------------------------- void DrawCaption(CDC *pDC, CXTPDockingPaneTabbedContainer *pPane, CRect rc); };