diff --git a/cmd/macfe/rdfui/CRDFCoordinator.cp b/cmd/macfe/rdfui/CRDFCoordinator.cp index 28652f57cfa..ebd0f36e287 100644 --- a/cmd/macfe/rdfui/CRDFCoordinator.cp +++ b/cmd/macfe/rdfui/CRDFCoordinator.cp @@ -39,6 +39,7 @@ #include "CRDFCoordinator.h" #include "CHyperTreeFlexTable.h" +#include "CNavCenterScroller.h" #include "CNavCenterTitle.h" #include "UGraphicGizmos.h" @@ -182,6 +183,10 @@ CRDFCoordinator :: ShowColumnHeaders ( ) mTreePane->MoveBy ( 0, columnHeaderFrame.height, false ); mTreePane->ResizeFrameBy ( 0, -columnHeaderFrame.height, false ); + CNavCenterScroller* scroller = dynamic_cast(FindPaneByID(kScrollerPaneID)); + if ( scroller ) + scroller->ColumnHeadersChangedVisibility ( true, columnHeaderFrame.height ); + } // ShowColumnHeaders @@ -200,6 +205,10 @@ CRDFCoordinator :: HideColumnHeaders ( ) mTreePane->MoveBy ( 0, -columnHeaderFrame.height, false ); mTreePane->ResizeFrameBy ( 0, columnHeaderFrame.height, false ); + CNavCenterScroller* scroller = dynamic_cast(FindPaneByID(kScrollerPaneID)); + if ( scroller ) + scroller->ColumnHeadersChangedVisibility ( false, columnHeaderFrame.height ); + } // HideColumnHeaders diff --git a/cmd/macfe/rdfui/CRDFCoordinator.h b/cmd/macfe/rdfui/CRDFCoordinator.h index 27f6b41666e..8e80a4484c4 100644 --- a/cmd/macfe/rdfui/CRDFCoordinator.h +++ b/cmd/macfe/rdfui/CRDFCoordinator.h @@ -87,7 +87,8 @@ protected: public: enum { class_ID = 'RCoo', pane_ID = 'RCoo' }; enum { - msg_ActiveSelectorChanged = 'selc' // broadcast when selector changes + msg_ActiveSelectorChanged = 'selc', // broadcast when selector changes + kScrollerPaneID = 'HyTC' // pane id of the scroller containing tree/headers/etc }; // Set the current workspace to a particular kind of workspace